Dave,

Why not use the CALL macro with the VL parameter to mark the end of the list?

Sincerely,

Tom Harper
Phoenix Software International 

Sent from my iPhone

> On Oct 18, 2023, at 11:53 AM, Dave Clark <dlcl...@winsupplyinc.com> wrote:
> 
>         I have a definition such as the following.
> 
> SHVPARMB DS    5F
> 
>        However, the program I am calling will actually accept 4, 5, or 6 
> parameters in this list.  So, I believe that T' will return F and L' will 
> return 4, but is there any attribute that will return the 5 in the above 
> definition?  I ask, because I would rather not hardcode the following to 
> set the end flag for the list.
> 
> OI    SHVPARMB+(5*4-4),X'80'
> 
> 
> Sincerely,
> 
> Dave Clark
> -- 
> int.ext: 91078
> direct: (937) 531-6378
> home: (937) 751-3300
> 
> Winsupply Group Services
> 3110 Kettering Boulevard
> Dayton, Ohio  45439  USA
> (937) 294-5331
> 
> 
> 
> *********************************************************************************************
> This email message and any attachments is for use only by the named 
> addressee(s) and may contain confidential, privileged and/or proprietary 
> information. If you have received this message in error, please 
> immediately notify the sender and delete and destroy the message and all 
> copies. All unauthorized direct or indirect use or disclosure of this 
> message is strictly prohibited. No right to confidentiality or privilege 
> is waived or lost by any error in transmission. 
> *********************************************************************************************


--------------------------------------------------------------------------------
This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

Reply via email to