COBOL - maximum no of PERFORM statements
-
- Posts: 4
- Joined: Wed Nov 02, 2011 1:30 am
- Skillset: JCL,VSAM
- Referer: TCS faculty
COBOL - maximum no of PERFORM statements
How many maximum no of PERFORM statements can be used in COBOL program??
regards
lakshmikanth :)
lakshmikanth :)
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: COBOL
nothing that You could not find Yourself starting from
http://www-03.ibm.com/systems/z/os/zos/ ... index.html
http://www-03.ibm.com/systems/z/os/zos/ ... index.html
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Posts: 4
- Joined: Wed Nov 02, 2011 1:30 am
- Skillset: JCL,VSAM
- Referer: TCS faculty
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: COBOL
Can you not read Appendix B of the COBOL Language Reference manual for Enterprise COBOL (SC23-8528), which clearly states a maximum of 4,194,303 PERFORM statements?you mean,i can use any no of times??
-
- Posts: 341
- Joined: Thu Feb 24, 2011 12:05 am
- Skillset: 30 years on IBM mainframes
- Referer: Searched for Frank Yeager
Re: COBOL
Now he doesn't have to Robert.
-
- Global moderator
- Posts: 3805
- Joined: Tue Jan 25, 2011 12:02 am
- Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
- Referer: Google
Re: COBOL
It does clearly state that, but I wonder exactly what it means? The maximum number of Procedure-names (same source) is 1,048,575 
I guess to all but code-generators, the is effectively no limit. If you could, continously, code one perform in 20 seconds, 24/7, it would take nearly three years to reach the limit. I doubt you could edit the file after a while, either

I guess to all but code-generators, the is effectively no limit. If you could, continously, code one perform in 20 seconds, 24/7, it would take nearly three years to reach the limit. I doubt you could edit the file after a while, either

-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: COBOL
And you are allowed to PERFORM the same paragraph / section more than once....It does clearly state that, but I wonder exactly what it means? The maximum number of Procedure-names (same source) is 1,048,575
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: COBOL
Hi Guys,
d
Ta! Daa!! And we have re-usability within the same module. . .It does clearly state that, but I wonder exactly what it means? The maximum number of Procedure-names (same source) is 1,048,575

d