View previous topic :: View next topic
|
Author |
Message |
nutan
New User
Joined: 27 Jan 2006 Posts: 26
|
|
|
|
Hi,
I just want to know how many job statements we write in a JCL ?
Suppose , I have 1 COBOL program 'c1' which calls other 2 cobol progams say 'c2' and 'c3' . I am accepting some user i/p in 3 programs.
So , how should I write JCL statement for this ?
Regards,
Nutan |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi,
Quote: |
I just want to know how many job statements we write in a JCL ? |
I tried 15 Job statement (job card) and job ran fine.
Regards
Rupesh |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
There is no real limit other than how many initiators are available on the system. |
|
Back to top |
|
|
vrakeshmbt
New User
Joined: 17 Aug 2005 Posts: 30
|
|
|
|
Yes What Superk has given is exactly correct |
|
Back to top |
|
|
nutan
New User
Joined: 27 Jan 2006 Posts: 26
|
|
|
|
Hi,
I am not getting how should I write JCL for accepting i/p from user . I knoe we can use " SYSIN DD * " . But my Q. is I am using 3 cobol files So how can we write JCL stmt for that?
Regards,
Nutan |
|
Back to top |
|
|
chandan.inst
Active User
Joined: 03 Nov 2005 Posts: 275 Location: Mumbai
|
|
|
|
Hi,
I am not getting your question?
Du you want to accept variables at the Run JCl or you want to know how to give file names at the RUN JCL
If you want to accept variables at run jcl you have to mention them in SYSIN DD * as per order of flow of your program that means you have to mention the variables at run jcl in the same order you are accepting in your three cobol programs
Regards,
Chandan |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
|