"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 11/20/2019
04:58:35 AM:
----When I debug I get N1 = 64 which is incorrect which ideally should
have
been 48 as per current decrypted value


Based on your dumped data, change this statement:

eval outrec = %trimr(record);

...to this:

eval outrec = %trimr(%trimr(record):x'10');



RCDLEN = 500 is incorrect then what should be correct length on fly so
that i can set it as per exact decrypted value of record field which
should not contain any garbage value in it?


Åcommand = 'CRTPF FILE(RISHI/TESTFILE) RCDLEN(' + %char(N1) + ')';


Sincerely,

Dave Clark

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.