Sunday, January 22, 2017

JCL Coding For An EasyTrieve Module

An EasyTrieve module is run by calling the EasyTrieve driver program (called EZTPA00) and supplying the module as a SYSIN data set.

Several other files are required by the EasyTrieve application to ensure correct completion.  An example job step using EasyTrieve is shown below:-

//S030     EXEC PGM=EZTPA00,REGION=8M,COND=(0,NE),TIME=(0,10)
//EZTVFM   DD  UNIT=SYSDA,SPACE=(CYL,(20,02),,,ROUND)       
//SYSOUT   DD SYSOUT=*                                      
//SYSPRINT DD SYSOUT=*                                      
//SYSUDUMP DD SYSOUT=*                                       
//DISPFLE  DD SYSOUT=*                                      
//SYSIN    DD DSN=XXXX.XXXX.DATA(UXXXXX),DISP=SHR     
//*

Note that many of the files are routed to SYSOUT=*, this means that the output written to those files will appear in the Spool Display & Search Facility (SDSF) when the job is run.

An understanding of the uses of these files is not necessary at this stage, they can be copied and used without change for most purposes.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.