New Programs
For users at Leicester only
The following sequence of calls is typical in a program destined to
run under QCL.
PROGRAM <name>
C program on directory $XMAIN
.
.
CALL QX_CLINE('parameter1,parameter2')
CALL QX_GETR('<parameter>','<prompt>',<variablename>)
etc.
.
CALL QX_PUTR('<parameter>',<variablename>)
etc.
.
.
END
The QX_CLINE call identifies in-line command parameters
either from the shell command line or the QCL command line used to
execute the process. A sequence of QX_GET calls follows to
access the required parameters. Towards the end of the program a
sequence of QX_PUT calls can be used to pass parameters
back to QCL.
[Next: Summary of Commands]
[Previous: Application Programs]
[Back to Contents]
|