An example of the JCL that can be used to extract the listing to a sequential data set is shown following.
//xxxxxxxx JOB (job card info) //NATBAT EXEC PGM=NATvrmBA, // PARM=(Natural parameters) //* STEPLIB DD DISP=SHR,DSN=SAGLIB.NATvrm.LOAD //DDPRINT DD SYSOUT=* //DDDRUCK DD SYSOUT=* //CMPRINT DD DISP=(,CATLG,DELETE), // DSN=yourhlq.NATURAL.LISTING, // UNIT=SYSDA,SPACE=(TRK,(15,15),RLSE) //CMPRT01 DD SYSOUT=* //CMSYNIN DD * LOGON <Natural-Library-Name> LIST PROGRAM <Natural-Program-Name>
In order to use this JCL, you must change it as follows:
Refer to the person who installed Natural at your company for more information. The JCL shows the default naming convention used in the Software AG installation materials.
Refer to the person who installed Natural at your company for more information. CA Mainframe Application Tuner requires no special Natural parameters.
Refer to your system programmer or Natural installer for more information. The JCL shows the default naming convention used in the Software AG installation materials.
This is the data set that will be used in the registration process.
A sequential data set is shown in the JCL; however, a PDS can be used if desired. Simply make the appropriate changes to the JCL.
After these changes have been made, execute the job.
The job should finish with condition code zero, and it should produce a data set that contains a listing of the program to be registered.
In addition to the program listing, this data set will contain certain messages from Natural. This situation is normal and completely expected.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |