To run this Spatial+ installation verification job:
-
Edit the JCL in yourprefix.SPATIAL.CNTL(C).
The following is an example of the JCL:
//yourjobJOB 1,RUNIT,MSG,NOTIFY=&SYSUID //* //********************************************************************* //* //* SAMPLE COMPILE AND LINK FOR C++ PROGRAMS //* //* NOTE: ALL ITEMS MARKED WITH <===ARE LOCATION DEPENDENT //* AND MUST BE TAILORED TO YOUR INSTALLATION'S STANDARDS. //* //********************************************************************* //CPPJCL PROC MEMBER=*MEMBER*, <=== SOURCE CODE MEMBER NAME // PRODPFX=YOURPREFIX, <=== SPATIAL DSN PREFIX // PRODSFX=CPP<=== SOURCE LIB SUFFIX //********************************************************************* //COMPILE EXEC PGM=CCNDRVR,REGION=0M,
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* CLOSEST YOURPREFIX The correct prefix for your Spatial+ z/OS product target dataset names. CPP C++ source Lib Suffix. -
Submit and run the 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(RUNCLOS), so that it complies with the standards for your
installation.
The following is an example of the JCL:
//yourjobJOB 1<===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 //* //CLOSEST PROC PRODHLQ=YOURPREFIX,VS= //CLOSEST EXEC PGM=CLOSEST,REGION=0M //STEPLIB DD DSN=&PRODHLQ..LOAD,DISP=SHR //INFILE DD DSN=&PRODHLQ..SPATIAL.TXT,DISP=SHR //COUNTGSB DD DSN=&PRODHLQ..COUNTIES.GSB&VS,DISP=SHR //USGSB DD DSN=&PRODHLQ..US.GSB&VS,DISP=SHR //OUTFILE DD SYSOUT=* //SYSOUT DD DUMMY
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 receive a condition code of "0000". If any other code is returned, investigate the job's output listing and correct the error.