On Thu, 7 Mar 2013 12:01:00 -0500, Gerhard Postpischil wrote:

>On 3/7/2013 10:23 AM, Shmuel Metz (Seymour J.) wrote:
>>
>> No! Only use LINKMVS if you want halfword length fields prepended to
>> the arguments; otherwise use LINKPGM.
>
>For the OP the target is CoBOL, presumably expecting character values.
>It should be possible to code the program(s) to detect how they are
>called and accept either form. I've done that in the past, but for
>assembler subroutines.
> 
E.g. if the first hex digit is 0, assume the first two bytes are a length
specification, up to 4095.

BPXWDYN makes a similar judgment, and I got an astonishing result
by passing it a PARM beginning with a character it was unprepared
to handle.

- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to