× 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.





On 06/18/2015 12:45 PM, CRPence wrote:
On 18-Jun-2015 01:16 -0600, Birgitta Hauser wrote:
Yet another idea, why not using binary/integer and write the hex
value into the field?

D MyDS DS
D MyChar 8A
D MyInt 20U 0

Or

DCL-DS MyDS;
MyChar Char(8);
MyInt Uns(20);
End-DS

MyInt = yourNextNumValue;
EvalR YouCounter = MyChar;


While every possible 8-byte character value is a valid 8-byte integer,
not every 8-byte integer will produce all visible glyphs, i.e. all
printable characters of EBCDIC code points for which the character data
will appear on "a few (hundreds) PGMs/Screens/Reports". Thus seems
unclear to me, how what is offered here might be directly applicable to
the OP; there seems to be nothing describing how to get from '9AAAAA' to
'9AAAAB' or '9AAA99' to '9AABAA' as requested in the OP.?

That is the reason why I suggested using %check and incrementing again
until a valid sequence is found.

if %check('012..9ABC..Z' : MyChar) = *zero ==> Ok, else increment again.

-- Este e-mail fue enviado desde el Mail Server del diario ABC Color --
-- Verificado por Anti-Virus Corporativo Symantec --

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.