CRE Programmer's Guide

Common Language Utility (CLU) Library Functions
Common Run-Time Environment (CRE) Programmer’s Guide528146-004
9-8
FORTRAN Considerations
defines
is an alphanumeric operand containing a string value appropriate for the
PROCESS_CREATE_ parameter to which it corresponds.
The compiler implicitly computes and transmits the size, in bytes, of
defines to
the function.
If a string value does not completely fill its operand, the first unused character must
be a blank (space character).
debug-options
is an actual parameter that evaluates to a numerica1 value appropriate for the
PROCESS_CREATE_ parameter to which it corresponds, such as a
COMPUTATIONAL, DISPLAY, or NATIVE numeric data item, a numeric literal, or
an expression enclosed in parentheses. If the parameter does not mathematically
evaluate to an integer, the compiler changes the result into an integer value.
pfs-size
is an actual parameter that evaluates to a numerica1 value appropriate for the
PROCESS_CREATE_ parameter to which it corresponds, such as a
COMPUTATIONAL, DISPLAY, or NATIVE numeric data item, a numeric literal, or
an expression enclosed in parentheses. If the parameter does not mathematically
evaluate to an integer, the compiler changes the result into an integer value.
result
is a numeric data item.
FORTRAN Considerations
You can use CLU_Process_Create_ for programs that run in the TNS CRE or in a
FORTRAN run-time environment.
Before you use this function, you must declare it in a CONSULT directive that specifies
an object file that contains a copy of the function. This function is contained in the file
CLULIB (which is usually in the $SYSTEM.SYSTEM subvolume), rather than in a
FORTRAN product file.
The FORTRAN format for invoking this function is as follows:
result = CLU_Process_Create_ ( cluoptions, programfile,
libraryfile, swapfile, extswapfile, priority,
processor, processhandle, errordetail,
nameoption, name, processdescr,
processdescrbytes, nowaittag, hometerm,
memorypages, jobid, createoptions, defines,
debugoptions, pfssize )