Calling Easytrieve program from an Easytrieve program
search cancel

Calling Easytrieve program from an Easytrieve program

book

Article ID: 95866

calendar_today

Updated On:

Products

PanAudit Plus Easytrieve Report Generator PAN/SQL

Issue/Introduction



When using the PROGRAM USING logic, does the coding need to account for the 2 byte parm length to get the correct results?

Environment

Release:
Component: EZTPLS

Resolution

Please see this documentation link:
https://docops.ca.com/display/CAET/.PROGRAM+Statement+v11.6 

Yes, the data for the field-name consists of a two-byte length value followed by the data. 

Note:
If the field-name definition includes the VARYING parameter, the data in the field is alphanumeric and of varying length. This applies to the standard way that z/OS invokes main programs. For more information about the VARYING parameter, see DEFINE Statement.