Perhaps what you want is in effect COMREG from DOS. In doing
migrations from DOS to MVS one of the ways of simulating this was
to create a temp dataset that we wrote into it what we needed and
then read from and/or updated with each succeeding job step. The
last job step had COND=EVEN so that if anything ABENDed, this
step would still run to delete the "temp" data set. Granted, if
one were using a temp dataset the INIT would get rid of it during
"alloc cleanup" before starting the next JOB.
Granted, you probably do not want the contents of COMREG as it
would have been for DOS (which gets passed within each
partition....). But it sounds like this is the kind of process
you may be after.
HTH
Steve Thompson
On 12/2/2024 4:35 AM, Steff Gladstone wrote:
Maybe I should rephrase my question. I put too much emphasis on the idea
of a temporary dataset.
What I am really looking for is a way of maintaining a piece of information
that is created in one job step and is accessible to all succeeding
job-steps. A type of memory that is getmained in one job step and persists
till the end of the last job step, would be perfect. If it was possible to
create a name-token with the life of the entire job, that would be
perfect. But it would disappear by itself without the last job-step having
to be "aware" that it was the last job-step and without being responsible
to delete it. Any ideas?
On Thu, 21 Nov 2024 at 15:40, Steff Gladstone <[email protected]>
wrote:
Hi,
Without specifying a file (temporary or otherwise) statically in the JCL
of a job, how can I create a temporary data record in an earlier step of
the job and have it persist and be accessible by all succeeding steps of
the job (and then be deleted by the system at the end of the job)?
Am I correct in understanding that I cannot dynamically allocate a
temporary file with DISP=PASS?
Thanks,
Steff Gladstone
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
--
Regards,
Steve Thompson
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN