IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

number of instream proc


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ahalyah

New User


Joined: 13 Dec 2007
Posts: 25
Location: india

PostPosted: Fri Dec 28, 2007 12:29 pm
Reply with quote

Hi,
how many instream procs we can code ina single jcl?
I searched in forums. There it is 15. But i have a doubt that it is 15 or 16.
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Fri Dec 28, 2007 12:33 pm
Reply with quote

Upto 15.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Dec 28, 2007 12:33 pm
Reply with quote

ahalya,

Did u refer to the manuals link at the top of this page? What does the manual say?
Back to top
View user's profile Send private message
ahalyah

New User


Joined: 13 Dec 2007
Posts: 25
Location: india

PostPosted: Fri Dec 28, 2007 1:39 pm
Reply with quote

Hi Aaru,
yes. I checked it in the manual 'jcl programming limits'. In that it is mentioned as 15. But somebody argued with me as 16. So that i want to know the correct answer.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Dec 28, 2007 1:47 pm
Reply with quote

Ahalya,

The maximum number of in-stream procedures you can code in any job is 15.

Quote:
But somebody argued with me as 16.


No, He/She is wrong.

If the doubt still persists then please code a JCL with 16 PROC's and test.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 28, 2007 1:50 pm
Reply with quote

What about running a job with some dummy inline procs and tell US ??

Code:
//PROC01 PROC
//S01   EXEC PGM=IEFBR14
//       PEND
.....
.....
//PROC16 PROC
//S01   EXEC PGM=IEFBR14
//       PEND


it takes less time and will give a 100% certain answer
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Dec 28, 2007 2:13 pm
Reply with quote

I would appreciate it if anyone who's answer isn't "there is no limit" would post a link to the IBM documentation page that states otherwise.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 28, 2007 2:37 pm
Reply with quote

NAHHH NAHHH

I just tested with up to 64 inline procs ... everything worked fine
Back to top
View user's profile Send private message
ahalyah

New User


Joined: 13 Dec 2007
Posts: 25
Location: india

PostPosted: Fri Dec 28, 2007 2:51 pm
Reply with quote

Hi,
Thank u for the quick reply.
I also agree for that.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Dec 28, 2007 2:53 pm
Reply with quote

enrico,

Quote:
I just tested with up to 64 inline procs ... everything worked fine


Does that mean that the details provided in the manual is wrong? icon_sad.gif
Back to top
View user's profile Send private message
ahalyah

New User


Joined: 13 Dec 2007
Posts: 25
Location: india

PostPosted: Fri Dec 28, 2007 4:08 pm
Reply with quote

Hi
Quote:
I just tested with up to 64 inline procs ... everything worked fine


is it means that maximum no of 64 instream procs we can code?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Dec 28, 2007 4:23 pm
Reply with quote

ahalya,

Quote:
is it means that maximum no of 64 instream procs we can code?


Why don't you test the same? I cannot test as i do not have access to the mainframes icon_sad.gif . Test and let us know .

But as per the manuals its 15.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 28, 2007 4:40 pm
Reply with quote

no...
it means I got bored of testing icon_biggrin.gif
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Dec 28, 2007 4:44 pm
Reply with quote

e.s,

Sorry that am adding a post to this topic icon_sad.gif I don't think ahalya got the answer for her question.

So what is the final conclusion? Can we have more than 15 in-stream PROC's in a JCL?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 28, 2007 5:00 pm
Reply with quote

I tested with 200 inline procs and everything went fine...
but when I went to 999
I got
Code:
13.27.28 JOB00606 ---- FRIDAY,    28 DEC 2007 ----
13.27.28 JOB00606  IRR010I  USERID ENRICO   IS ASSIGNED TO THIS JOB.
13.27.40 JOB00606  IEC032I E37-04,IFG0554P,JES2,JES2,SYS00006,VIO ,      ,SYS073
13.27.40 JOB00606  IEF196I IEC032I E37-04,IFG0554P,JES2,JES2,SYS00006,VIO ,
13.27.40 JOB00606  IEF196I SYS07362.T132729.RA000.JES2.R0100009
13.27.40 JOB00606  IEFC683I CONVERTER TERMINATED DUE TO SE37 ABEND REASON=000000


I will enjoy investigating icon_biggrin.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Dec 29, 2007 3:15 am
Reply with quote

everithing worked well up to 209 inline procedures...

with 210 I got the message ..
Quote:
IEFC665I EXCESSIVE NUMBER OF INSTREAM PROCEDURES

Explanation: The system found that the job fills the data set with input stream procedures.

Source: Converter

Detecting Module: IEFCNISP

System Action: The system ends the job. The system scans the remaining job control statements for syntax errors and issues messages about the job to the job log.

Application Programmer Response: Eliminate enough input stream procedures to enable the job to run again.

System Programmer Response: Look at the messages in the job log. If the JOB statement did not specify MSGLEVEL=(1,1), specify it and run the job again. If the problem persists, search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM Support Center. Provide the SYSOUT output for the job.


but I guess I went up to that number because the procedures were simple/stupid...
Code:
//PROCxxx PROC
//S     EXEC PGM=IEFBR14
//       PEND


the logic behind the converter is that it uses a workfile ( VIO ) to store the
jcl being converted..
if the procedures get a bit more complicated, given a fixed space allocation,
the converter might process fewer procedures..

I could not find in the manuals anything useful,
not even an hint on how to make the dataset larger
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Sat Dec 29, 2007 10:15 pm
Reply with quote

enrico,

Thanks for all the details. So the maximum no of instream PROC's that can be used in a JCL is not 15 for sure. It depends on how complicated the PROC is depending on the logic, space etc.

Btw thanks for testing it and am looking forward to test the same.
Back to top
View user's profile Send private message
ahalyah

New User


Joined: 13 Dec 2007
Posts: 25
Location: india

PostPosted: Mon Dec 31, 2007 10:13 am
Reply with quote

Hi Aaru,
sorry. I also can't test it now. I have joined new company and currently i don't have access to mainframes.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Mon Dec 31, 2007 10:18 am
Reply with quote

ahalya,

Quote:
sorry. I also can't test it now


Not a Problem and you dont have to feel sorry for this icon_smile.gif!
Back to top
View user's profile Send private message
ahalyah

New User


Joined: 13 Dec 2007
Posts: 25
Location: india

PostPosted: Mon Dec 31, 2007 10:21 am
Reply with quote

Hi friends,
Thanks for your response. Finally we came to some conclusion. icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
No new posts Cobol program with sequence number ra... COBOL Programming 5
Search our Forums:

Back to Top