Go to LeighWeb Home Page            

Back To LeighWeb Mainframe Utilities Page

View the module associated with this documentation

 The CA7CMD utility allows you to invoke CA7 commands from anywhere
 within ISPF without having to go in and out of the CA7 environment.  It
 uses the CA7 batch terminal feature so its performance is not the best,
 but its primary benefit is convenience.

 It is implemented as both a standard REXX that can be executed via the
 "TSO xxxx" style of invocation as well as as an ISPF edit macro.  The
 advantage of using it as an edit macro is that when you are editing JCL
 whose member name matches the member name of the JCL in CA7, you have
 the ability to just type "CA7" on the command line and you'll
 automatically have an LJCL,JOB=themembername command issued to CA7 and
 the results returned as message lines in your edited JCL.
 Alternatively, you could issue the command "CA7CMD LJOB" and it would
 issue the LJOB,JOB=themembername command and once again, your data is
 returned to the member.  You also have the capability of putting other
 parameters on the command if you so desire.  For instance, you might
 want to issue the LJOB command with a "LIST=TRIG" paramter.  You would
 just type CA7CMD LJOB,LIST=TRIG and CA7CMD would put the job name in
 there for you and return the results.

 If you're executing it as you would a typical Rexx or Clist (i.e. not
 an edit macro), you need to supply the full command.  For example, you
 could type CA7CMD LJOB,JOB=yourfavoritejob,LIST=RQJOB on any ISPF
 command line and press ENTER.  The results are written to a dataset and
 you are taken into an edit session on that dataset.  This is also a
 good way to capture CA7 command that you need in a dataset for whatever
 reason.