Creating and Running the Load Module on MVS
You can now FTP your ftoc.out file to MVS in binary
mode and use the linkage editor to create a load module that may be executed
with the TSO CALL command.
- Allocate a TEST.OBJ data set a TEST.LOAD data set to contain your prelinked object deck and the load module. The TEST.OBJ data set should have the following attributes:
Record format . . . :,FB
Record length . . . :,80
Block size . . . . :,3040
|
The TEST.LOAD data set should have the following attributes:
Record format . . . :,U
Record length . . . :,121
Block size . . . . :,1210
|
- FTP the ftoc.out file to userid.TEST.OBJ(FTOC). Make sure you FTP the file in binary mode.
- Modify the following JCL to the requirements of your site and submit the job to create the userid.TEST.LOAD(FTOC) load module:
//your-jobcard
//*
//*--LINKEDIT-----------------------------------------------
//*
//LKED EXEC PGM=LINKEDIT
//SYSLIN DD DSN=userid.TEST.OBJ(FTOC),DISP=SHR
//SYSUT1 DDUNIT=SYSDA,SPACE=(TRK,(10,10))
//SYSLMOD DD DSN=userid.TEST.LOAD(FTOC),DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//
|
- Issue the following
command to invoke the FTOC load module:
TSO CALL TEST.LOAD(FTOC) ‘=V’
|
The ‘=V’ is the =VERSION run-time option which will cause a message to be displayed that identifies the release of the SAS/C library that the load module was linked with and the release of the transient library that is being used to run the application.