[Library] [Contents] [Revisions] [Prev Topic] [Next Topic] [Search] [Search Results] [Prev Topic Match] [Next Topic Match] [Notes] [List Notes] [Print] [Download] [Help]

3.4.4.1.2 EXEC Statement



The program needed to execute TSO/E commands from the background is a terminal monitor program (TMP), which may be one of the following: IKJEFT01, IKJEFT1A, or IKJEFT1B. The EXEC (execute) statement is used to execute program IKJEFT01 or the alternate programs IKJEFT1A and IKJEFT1B. The format is:

     //stepname EXEC PGM=IKJEFT01,DYNAMNBR=nn,PARM='command' 


   Note:  The TSO/E terminal monitor program must not run as a V=R program. 
          Executing the TMP as V=R will cause unpredictable results. 




stepname is optional and can be used as a step identifier in programs consisting of more than one step.


   EXEC is the JCL term that identifies this type of statement. 


   PGM= specifies the module being executed. In addition to IKJEFT01, there 
       are two other entry points available for background execution that 
       provide additional return code and abend support. The differences 
       among the three entry points are: 





See OS/390 TSO/E Customization for information on abend and non-zero return code processing by these alternate programs.


   DYNAMNBR= indicates the number of system resources the system should hold 
       in anticipation of reuse. For information on the specific number of 
       allocations you can specify, see OS/390 MVS JCL Reference. 


   PARM= is optional and can be used to supply the first (or only) command to 
       be executed. This is used most often when you only execute one command 
       in the step. 




[Prev Topic] [Next Topic] © Copyright IBM Corp. 1988, 2000

IBM BookManager® BookServer Copyright 1989, 1999 IBM Corporation. All rights reserved.


Return to library: [ OS/390 | TPF | VM | VSE | IBM Hardware | S/390 Redbooks | RS/6000 SP ]

Glossary - IBM Dictionary of Computing

How to: [ Order publications | Contact OS/390 ]