job card



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

job card

Postby syamcs » Tue Aug 30, 2011 5:22 pm

hi all,

Is it possible to write more than one job in a single sequential file? If so what is the maximum number of job that we can write?

Regards
Syam
syamcs
 
Posts: 56
Joined: Thu Feb 10, 2011 5:36 pm
Location: chennai
Has thanked: 0 time
Been thanked: 0 time

Re: job card

Postby BillyBoyo » Tue Aug 30, 2011 5:35 pm

Yes, you can have a whole bunch of jobs in the same file. You submit, they should all go off one-by-one. No idea if there is a maximum. What are you trying to achieve?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: job card

Postby Robert Sample » Tue Aug 30, 2011 5:36 pm

Yes, you can have more than one job in a sequential file. I'm not aware of any particular limit on how many jobs can be in one sequential file -- how many are you wanting in one file?
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: job card

Postby BillyBoyo » Tue Aug 30, 2011 5:40 pm

Snap, Robert :-)
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: job card

Postby syamcs » Tue Aug 30, 2011 5:52 pm

thanks a lot for your response :)

Regards
Syam
syamcs
 
Posts: 56
Joined: Thu Feb 10, 2011 5:36 pm
Location: chennai
Has thanked: 0 time
Been thanked: 0 time

Re: job card

Postby steve-myers » Wed Aug 31, 2011 12:20 am

First of all, the topic should be something like "sharing a sequential dataset by many jobs," not "job card."

Second, when I read the first post I got the impression syamcs wanted multiple jobs to write to the dataset. This is ill advised. The usual idea of writing a sequential dataset is to entirely replace any previous content of the dataset. While it is certainly possible to write programs that update a sequential dataset, this requires programming skills and methods not readily available to most Cobol programmers, and I think we would require much more information than syamcs has disclosed before we could discuss solutions.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: job card

Postby dick scherrer » Wed Aug 31, 2011 12:42 am

Hello,

I may have misunderstood just what the question was. . .

The way i read it was a request about how many sets of JCL (i.e. multiple jobs) could be "stacked" into a single dataset. I didn't see the part about multiple jobs writing into the same dataset. . .

Maybe we'll get a clarification from Syam.

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post