Previous Topic: Call OPSLINK from PL/1 ProgramsNext Topic: Define the OPSLINK Routine in PL/1 Programs


Define an Output Array in PL/1 Programs

The optional sixth argument of all OPSLINK calls is an output array that should be defined as:

DCL ARRAY(1000) CHAR(256) VARYING;

The size 1000 is arbitrary, but should be large enough to accommodate the maximum number of output lines expected from each call. The argument passed to OPSLINK before the sixth argument sets the size of the array (1000 in the above example).