SQL Supplement for H-Series RVUs
SQL/MP Programming Manual for COBOL
HP NonStop SQL Supplement for H-Series RVUs—529446-005
1-59
Program Execution
Program Execution
You can execute a COBOL program containing embedded SQL statements in the
Guardian or OSS environment of a TNS/E system. Note the changes to these
subsections for TNS/E:
•
Required Access Authority
•
Using the CLU_PROCESS_CREATE_ Routine
•
Running a Program in the OSS Environment
•
Running a Program at a Low PIN on a D-Series or Later Node
Required Access Authority
This subsection in Section 7, “Program Execution,” of the SQL/MP Programming
Manual for COBOL should refer to the CLU_PROCESS_CREATE_ routine in addition
to the CREATEPROCESS routine. Use the CLU_PROCESS_CREATE_ routine to
generate a creator process on a TNS/E or TNS/R system.
Using the CLU_PROCESS_CREATE_ Routine
To execute an SQL program from a COBOL program on a TNS/E system, use the
CLU_PROCESS_CREATE_ routine. Use this routine for programs that run in the CRE
or in a COBOL run-time environment on a TNS/R or TNS/E system. The
CLU_PROCESS_CREATE_ routine calls the system procedure,
PROCESS_CREATE_, and starts a new high-pin process by using the parameters that
you supply. For more information, see the CRE Programmer’s Guide.
Running a Program in the OSS Environment
This subsection in Section 7, “Program Execution,” of the SQL/MP Programming
Manual for COBOL should mention the nmcobol and ecobol utilities in addition to the
cobol utility:
After successfully compiling your COBOL program with the cobol, nmcobol, or
ecobol utility in the OSS environment, you have an executable object file.
Running a Program at a Low PIN on a D-Series or Later Node
This subsection in Section 7, “Program Execution,” of the SQL/MP Programming
Manual for COBOL should refer to a “D-series or later” node or PIN. The information
about D-series nodes also applies to G-series and H-series nodes.
Note. The cobol utility is not supported in the OSS environment of TNS/E systems. However,
it continues to be supported in the OSS environment of TNS/R systems.










