|
>> The annoying thing is that the maximum field >> length that can be displayed >> in DSPPGMVAR is 2000 bytes. > >not only is this a limit for DSPPGMVAR, it is a >limit of a field in the program, debugging or not This V5R1 source compiles and runs back to V4R4: PGM DCL &large *CHAR 4096 ChgVar &large ' ' ChgVar %sst(&large 2001 4) '2001' if (&large *ne ' ') do sndpgmmsg 'Have data' topgmq(*ext) enddo ENDPGM It debugs in all three green screen debuggers: STRDBG OPMSRC(*NO) addbkp 800, dsppgmvar '&large' start(2001) STRDBG OPMSRC(*YES) eval %substr(&large 2001 512) STRISDB d (2001)&large --buck
As an Amazon Associate we earn from qualifying purchases.
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.