Calling Easytrieve program from an Easytrieve program

Document ID : KB000095866
Last Modified Date : 05/06/2018
Show Technical Document Details
When using the PROGRAM USING logic, does the coding need to account for the 2 byte parm length to get the correct results?
Please see this documentation link: 

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

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.