To run this Spatial+ installation verification job:
-
Edit the JCL in yourprefix.SPATIAL.CNTL(COBOL).
Note: If you do not have the IBM COBOL compiler, modify the JCL to run the prelink and link steps only.
The following is an example of the JCL:
//yourjobJOB 1,RUNIT,MSG,NOTIFY=&SYSUID //* //********************************************************************* //* //* SAMPLE COMPILE AND LINK FOR COBOL PROGRAMS //* //* NOTE: ALL ITEMS MARKED WITH <===ARE LOCATION DEPENDENT //* AND MUST BE TAILORED TO YOUR INSTALLATION'S STANDARDS. //* //********************************************************************* //COBJCL PROC MEMBER=*MEMBER*,<=== SOURCE CODE MEMBER NAME // PRODPFX=YOURPREFIX<=== SPATIAL DATA SET PREFIX
Substitute the items in bold with the appropriate values, as follows:
yourjob The job name and rest of the job card per your installation standards. *MEMBER* PIPSTUDY YOURPREFIX The correct prefix for your Spatial+ z/OS product target dataset names. -
Submit and run the compile/link job.
When the job completes, you should receive a condition code of "0000". If any other code is returned, investigate the job's output listing and correct the error.
-
After the program has successfully compiled, edit yourprefix.SPATIAL.CNTL
(RUNPIPST) so that it complies with your installation's standards.
The following is an example of the JCL:
//yourjob JOB <===FILL IN THE JOB CARD //* //* CHANGE 'YOURPREFIX' TO YOUR SPATIAL HLQ //* SET 'VS' TO '.VS' IF YOU WISH TO RUN THE IVP ON THE VSAM FILES //* //PIPSTUDY PROC PRODHLQ=YOURPREFIX,VS= //PIPSTUDY EXEC PGM=PIPSTUDY,REGION=0M <=== POINT AT YOUR LOAD LIBRARY //STEPLIB DD DSN=&PRODHLQ..LOAD,DISP=SHR // DD DSN=CEE.SCEERUN,DISP=SHR <=== C RUNTIME LIBRARY //INFILE DD DSN=&PRODHLQ..SPATIAL.TXT.COBOL,DISP=SHR //OUTFILE DD SYSOUT=*,DCB=(RECFM=FBA,LRECL=133) //COUNTGSB DD DSN=&PRODHLQ..COUNTIES.GSB&VS,DISP=SHR //COUNTGSA DD DSN=&PRODHLQ..COUNTIES.GSA&VS,DISP=SHR //USGSB DD DSN=&PRODHLQ..US.GSB&VS,DISP=SHR //SYSOUT DD SYSOUT=* //SYSABEND DD SYSOUT=*
Substitute the items in bold with the appropriate values, as follows:
yourjob The job name and rest of the job card per your installation standards. YOURPREFIX The correct prefix for your Spatial+ z/OS product target dataset names. -
Submit and run the job.
When the job completes, you should see a condition code of "0000". If any other code is returned, investigate the job's output listing and correct the error.