Page 1 of 1

job card

PostPosted: Tue Aug 30, 2011 5:22 pm
by syamcs
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

Re: job card

PostPosted: Tue Aug 30, 2011 5:35 pm
by BillyBoyo
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?

Re: job card

PostPosted: Tue Aug 30, 2011 5:36 pm
by Robert Sample
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?

Re: job card

PostPosted: Tue Aug 30, 2011 5:40 pm
by BillyBoyo
Snap, Robert :-)

Re: job card

PostPosted: Tue Aug 30, 2011 5:52 pm
by syamcs
thanks a lot for your response :)

Regards
Syam

Re: job card

PostPosted: Wed Aug 31, 2011 12:20 am
by steve-myers
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.

Re: job card

PostPosted: Wed Aug 31, 2011 12:42 am
by dick scherrer
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