× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This does not appear to be related to RPG programming. You may wish to post on the MIDRANGE list.

Brian.

On 02/10/2018 03:58, Singh, Ashwani Singh (Lake Mary) wrote:
Hi

I have problem in processing the command which has these parameters defined as below, getting garbage value in first 4 position of parameter 2 LIBS1 which was earlier 2 when the LIBS2 parameter was not defined in my validity checking program.

After defining the LIBS2 parameter I am getting the garbage in first 4 while I was expecting it to be first two bytes? Any one seen this odd behavior?

COMMND XYZ

PARM.....
PARM KWD(LIBS1) TYPE(*CHAR) LEN(10) +
MAX(99) +
CHOICE('Library name') +
PROMPT('library 1')
+
PARM KWD(LIBS2) TYPE(*CHAR) LEN(10) RSTD(*NO) +
MAX(99) +
CHOICE('LIBRARY NAME') +
PROMPT('library 2')




Thanks,
Ashwani Singh



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.