View previous topic :: View next topic
|
Author |
Message |
muh786
New User
Joined: 14 Jun 2011 Posts: 1 Location: usa
|
|
|
|
Hello - I would appreciate some input on my dilemma. In Rexx program I am creating (or allocating) a dataset with the following attributes and it works; it creates a dataset:
ADDRESS TSO "ALLOC DA("F4") RECFM(F B) LRECL(80)",
"SPACE(1,1) CYL UNIT(SYSDA) DSORG(PS),BLKSIZE(27920)",
"STORCLAS(STANDARD) MGMTCLAS(BM01YR00)",
"NEW CATALOG"
F4 - has a dataset name. The problem is when I use this dataset in a batch JCL it doesn't get recognized. I get the following error message:
IAT8685 SY56 - REQUIRED RESOURCES NOT AVAILABLE
IAT8685 SY57 - GROUP/CLASS DISABLED
But if I create the same dataset in ISPF 3.4 with same attributes it works. So there must be something missing here that i am not using. Any help will be appreciated. Thanks |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10884 Location: italy
|
|
|
|
explain why
TSO ALLOC In REXX Needs Improvement
the IAT8685 message is a jes3 message,
speak to your support to understand which resource is not available
post the jcl you are using
and the jes log of the job |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2590 Location: Silicon Valley
|
|
|
|
I agree with Enrico that you need to show us the JCL. Also, please explain the relationship between the rexx program and the batch job. When is the rexx program running?
My guess is that you are expecting F4 to still be a variable later when the job executes. The rexx and JCl are asynchronous. |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1328 Location: Bamberg, Germany
|
|
|
|
Issue a TSO FREE DA("F4") command after your allocation in REXX and it will work.
It might also good to know for you how to inquire JES3 what resources are not available. |
|
Back to top |
|
|
|