
Easytrieve - NWRDC Specific Notes
If you have any questions about the content of this page, please contact Requests for clarification.
COPY BOOK Support
To include a COPYBOOK from a PDS in a CA-EASYTRIEVE program when using the EASYPLUS procedure, modify your JCL similar to the following:
//STEP1 EXEC EASYPLUS,MACRO=PDS
//* OVER-RIDE TO ADD A USER PDS TO THE EZT MACRO FACILITY
//* NOTE THE PLACE HOLDER FOR THE VENDOR PROVIDED MACRO LIBRARY
//PDSDD DD
// DD DISP=SHR,DSN=(name of your copy library)
In the appropriate place in your program, specify
%membername
To include a COPYBOOK from a PanValet library in a CA-EASYTRIEVE program when using the EASYPLUS procedure, modify your JCL similar to the following:
//STEP1 EXEC EASYPLUS,MACRO=PAN
//PANDD DSN=(name of your copy library),DISP=SHR
In the appropriate place in your program, specify
%membername
If you execute the program EZTPA00 instead of executing the EASYPLUS proc, you must simply supply the following steplib override:
//STEPLIB DD DISP=SHR,DSN=NWR.EASYPLUS.RCUR.LOADPDS
or
//STEPLIB DD DISP=SHR,DSN=NWR.EASYPLUS.RCUR.LOADPAN
Variable Length Output Records
To create variable length records using CA-Easytrieve, you must designate the output file as being variable in the file section
Move the length of the record to the system field "Filename:RECORD-LENGTH" before PUTting or WRITEing the record to the file.
Suppress Printing of the Easytrieve Program Code
To suppress the printing of the program listing in EASYTRIEVE, type LIST OFF on a line by itself.