View previous topic :: View next topic |
Author |
Message |
javedsk12 Beginner

Joined: 14 Dec 2007 Posts: 66 Topics: 36 Location: pune
|
Posted: Sat Dec 15, 2007 12:54 am Post subject: How to Code More than 255 steps ??? |
|
|
HI friends,
suppose i need to code more than 255 steps in a single jcl, i learnt from an ebook that we can split the jcl into two different jcl and we can code can anyone help on this
javed :  _________________ javed
-----------------------
The Word Impossible it self says i am possible(im possible) |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Sat Dec 15, 2007 1:39 am Post subject: |
|
|
The terminology is "a job", not "a jcl". This is very important because the term "a jcl" really has no meaning (it seems to be an invention of Indian data processing schools of the past couple of years). Some people use "a jcl" to mean a file with one or more jobs (this should be called a job stream). Some use it to mean "a job". Some use it to mean a file containing any JCL (a proc, an include, etc., but not a whole job). The worst offenders are those that use "a jcl" to mean any input to a SORT product (that's just dumb). And of course, many people use it without having any idea what they mean which makes sense since the term is meaningless to begin with.
To answer your question, just split the steps into individual jobs of 255 or fewer steps. These can still be generated into a single file but are separated by job cards. Usually, the only reason to write more than 255 job steps is because you are writing some job(s) to copy many data sets. If this is the case (and there are probably much better ways to copy many files, but I'll leave that to another post), then it means that the individual steps do not depend on the output of previous steps so it is safe to throw in a job card every so often. If you don't want the jobs to run in parallel and take up all the system initiators, use the same job name on all job cards. _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
 |
javedsk12 Beginner

Joined: 14 Dec 2007 Posts: 66 Topics: 36 Location: pune
|
Posted: Sat Dec 15, 2007 3:20 am Post subject: |
|
|
thanks but can you show me how to code it still i am not getting it?  _________________ javed
-----------------------
The Word Impossible it self says i am possible(im possible) |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Sat Dec 15, 2007 8:31 am Post subject: |
|
|
//job1 JOB other parameters
//step1 jcl
//step2 jcl
:
//stepn jcl
// end of job1
//job2 JOB other parameters
//step1 jcl
//step2 jcl
:
//stepn jcl
// end of job2
:
:
//JOBn JOB
//step1 jcl
//step2 jcl
:
//stepn jcl
// end of jobn
If you do not know how to code JCL read the manual - link at the top of the screen _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
vkphani Intermediate

Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
Posted: Mon Dec 17, 2007 2:45 am Post subject: Re: How to Code More than 255 steps ??? |
|
|
javedsk12 wrote: | HI friends,
suppose i need to code more than 255 steps in a single jcl, i learnt from an ebook that we can split the jcl into two different jcl and we can code can anyone help on this
javed :  |
Put 255 steps in one JCL and the rest in one more JCL and execute. |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Mon Dec 17, 2007 9:00 am Post subject: Re: How to Code More than 255 steps ??? |
|
|
vkphani wrote: |
Put 255 steps in one JCL and the rest in one more JCL and execute. |
This, by the way, is a perfect example of what I was talking about where the term "a JCL" is meaningless. Does "one JCL" mean a job stream, a sequential file with multiple jobs, a PDS with multiple members, or a procedure and a job stream that references that procedure? It could mean any of those things. _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html. |
|
Back to top |
|
 |
|
|