|
The limit on the size of a *CHAR variable has always been 5000 bytes, as far back as I can remember, at least V2R3... it is just that debug won't display all of it... Of course, I personally think 5000 is another "dumb" arbitrary restriction... I should be able to declare a single character variable of at least 32,767 bytes, maybe even 16 meg., if I want to... :-) Mark ----- Original Message ----- From: "Buck Calabro" <Buck.Calabro@commsoft.net> To: <midrange-l@midrange.com> Sent: Friday, August 16, 2002 11:44 AM Subject: RE: Max CL program size for debug? > >> 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 > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. >
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.