View previous topic :: View next topic
|
Author |
Message |
a1javeed
New User
Joined: 10 Dec 2005 Posts: 20 Location: KUWAIT
|
|
|
|
Hi All
Is there any maximum limit to define a field in working storage at 01 Level
for example
Can i define 01 header-rec pic x(999999999)?
Thanks in advance |
|
Back to top |
|
|
twissi
Active User
Joined: 01 Aug 2005 Posts: 105 Location: Somerset, NJ
|
|
|
|
Hi Javeed,
Yes, there's a maximum limit for it, but unfortunately I can't recollect it.
I had a structure like the one given below in the program:
01 WS-TAB1.
10 WS-TAB1-VAR PIC X(32000) OCCURS 500.
At compilation, I received an error message that you can't exceed xxxxxxxx bytes for a variable.
Best way: include a variable like the one shown above and compile it, the compile listing will give you the exact figure!!
Hope this helps.
Cheers, Twissi. |
|
Back to top |
|
|
manikant pathak
New User
Joined: 09 May 2005 Posts: 37 Location: bangalore
|
|
|
|
Hi Javed,
As far as my Knowledge goes the Maximum size for COBOL data items is 16 Mb.
FYI..
Max size for Working Storage/Linakge and Local storage section is 128 Mb.
thanks and regards,
MKP |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi,
manikant pathak wrote: |
Hi Javed,
As far as my Knowledge goes the Maximum size for COBOL data items is 16 Mb.
FYI..
Max size for Working Storage/Linakge and Local storage section is 128 Mb.
thanks and regards,
MKP |
Does that mean COBOL data items are different than Working Storage/Linakge and Local storage section ?
Thanks,
Parikshit |
|
Back to top |
|
|
a1javeed
New User
Joined: 10 Dec 2005 Posts: 20 Location: KUWAIT
|
|
|
|
Hi,
Thank you for your information will try it out.
Javeed |
|
Back to top |
|
|
|