Page 1 of 1
Is it possible to lock a LDS using JCl?
Posted:
Thu Jan 22, 2009 1:48 pm
by manojlives
i have one REXX program when executed it makes changes in another JCL, And i have to submit that JCL to get my output .
And it happens that if anyone is running this REXX bfore i can submit this changed JCL their changes comes to this JCL,
how to raise a lock to it?
Re: Is it possible to lock a LDS using JCl?
Posted:
Thu Jan 22, 2009 9:37 pm
by Bill Dennis
How about starting with a JCL model and then saving the changes in a different, user-ID specific file for submission?
Re: Is it possible to lock a LDS using JCl?
Posted:
Mon Jan 26, 2009 5:38 pm
by expat
Do you mean PDS (Partitioned DataSet) or LDS (VSAM Linear DataSet)
Re: Is it possible to lock a LDS using JCl?
Posted:
Thu Jun 11, 2009 6:29 am
by manojlives
I mean PDS,
1) Is it possible to lock a PDS
2) Atleast Getenq of the PDS using REXX
My problem is,
1) I have a Rexx That edits a JOB and Save , And i have to submit the job.
if i submitted the first job, and before i can submit the job (thru Batch), if submitted the 1st prog , my JOB gets edited and their changes comes to my 2nd JOB.
Re: Is it possible to lock a LDS using JCl?
Posted:
Thu Jun 11, 2009 4:04 pm
by expat
As Bill suggested use a model, or either that, use ISPF file tailoring services.