Re: Dynamic Alocation question

2014-08-09 Thread John Szura
load am APF authorized program from Sent from my iPhone On Aug 4, 2014, at 11:29 AM, J R jayare...@hotmail.com wrote: Date: Mon, 4 Aug 2014 09:36:49 -0500 From: 000433f07816-dmarc-requ...@listserv.ua.edu Subject: Re: Dynamic Alocation question To: IBM-MAIN@LISTSERV.UA.EDU ... Can one do

Re: Dynamic Alocation question

2014-08-09 Thread Ed Gould
...@listserv.ua.edu Subject: Re: Dynamic Alocation question To: IBM-MAIN@LISTSERV.UA.EDU ... Can one do *anything* to STEPLIB? I thought it was peculiarly sacred; immutable. But I've never tried a concatenate- deconcatenate operation. I'm trying to imagine what happens if one LOADs a module from

Re: Dynamic Alocation question

2014-08-05 Thread Peter Relson
Changing the TASKLIB or STEPLIB or JOBLIB after it has been set by the system is not supported, any more than is changing many of the system-built control blocks. Might doing so work? Sure. There certainly are programs around that do this. Peter Relson z/OS Core Technology Design

Re: Dynamic Alocation question

2014-08-05 Thread John McKown
On Tue, Aug 5, 2014 at 6:52 AM, Peter Relson rel...@us.ibm.com wrote: Changing the TASKLIB or STEPLIB or JOBLIB after it has been set by the system is not supported, any more than is changing many of the system-built control blocks. Might doing so work? Sure. There certainly are programs

Re: Dynamic Alocation question

2014-08-05 Thread Shmuel Metz (Seymour J.)
In bay169-w587eb19110078468862cd5a3...@phx.gbl, on 08/04/2014 at 11:29 AM, J R jayare...@hotmail.com said: Well, the tasklib, whether it be JOBLIB, STEPLIB or some other, is opened at step initiation, No, only JOBLIB and STEPLIB; any other tasklib is opened by the attaching task or a parent

Re: Dynamic Alocation question

2014-08-05 Thread Shmuel Metz (Seymour J.)
In 5361904817893993.wa.paulgboulderaim@listserv.ua.edu, on 08/04/2014 at 11:00 AM, Paul Gilmartin 000433f07816-dmarc-requ...@listserv.ua.edu said: And I'll suspect the programmer is not allowed to CLOSE it; re-ALLOCATE; and re-OPEN. Is something similar true for the TASKLIB optional

Re: Dynamic Alocation question

2014-08-05 Thread Shmuel Metz (Seymour J.)
In bay169-w10481432472db094d28d9c9a3...@phx.gbl, on 08/04/2014 at 12:30 PM, J R jayare...@hotmail.com said: Of course, if authorized one can do what one likes, Including shooting oneself in the foot. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see

Re: Dynamic Alocation question

2014-08-05 Thread Shmuel Metz (Seymour J.)
In 970d418f-dbb3-492f-a630-8962ddbac...@comcast.net, on 08/04/2014 at 12:55 PM, Micheal Butz michealb...@comcast.net said: Wait open at step initiation The Initiator does not open TSOLIB. Believe I can load am APF authorized program from Of course, but it won't run as authorized unless

Re: Dynamic Alocation question

2014-08-04 Thread Rupert Reynolds
I am a bit rusty, but I think you allocate it first (get a SYSn DD name) before CONCAT with other dataset/s. On 4 Aug 2014 02:45, MichealButz michealb...@comcast.net wrote: I keep on getting 0360 In the S99ERROR filed Invalid text key I have the following question can I dynamically

Re: Dynamic Alocation question

2014-08-04 Thread Hardee, Chuck
Michael, As far as I know, the answer to your question is, YES. Your dynamic allocation request to concatenate datasets is the same whether you dynamically allocated them or if they came pre-allocated at runtime. You always use DDNames in the concatenation list, never dataset names. Your

Re: Dynamic Alocation question

2014-08-04 Thread MichealButz
List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Hardee, Chuck Sent: Monday, August 04, 2014 6:37 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Dynamic Alocation question Michael, As far as I know, the answer to your question is, YES. Your dynamic allocation request to concatenate datasets

Re: Dynamic Alocation question

2014-08-04 Thread Hardee, Chuck
, August 04, 2014 8:45 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Dynamic Alocation question Hi, does this mean If I want to concatenate MYTEST.LOADLIB I first dynamically allocate it use use the ddname returned to me by SVC 99 Then use text key DCCDNAM ? can I concatenate ISPLLIB and/or STEPLIB

Re: Dynamic Alocation question

2014-08-04 Thread Charles Mills
@LISTSERV.UA.EDU Subject: Re: Dynamic Alocation question Hi, does this mean If I want to concatenate MYTEST.LOADLIB I first dynamically allocate it use use the ddname returned to me by SVC 99 Then use text key DCCDNAM ? can I concatenate ISPLLIB and/or STEPLIB or TASKLIB returned from TSOLIB

Re: Dynamic Alocation question

2014-08-04 Thread MichealButz
THANK YOU -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Hardee, Chuck Sent: Monday, August 04, 2014 8:54 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Dynamic Alocation question If the dataset is not allocated in your JCL, then yes

Re: Dynamic Alocation question

2014-08-04 Thread Hardee, Chuck
] On Behalf Of Charles Mills Sent: Monday, August 04, 2014 8:59 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Dynamic Alocation question I believe you can concatenate any two allocations that make sense to concatenate. All you need is the two DD names. Charles -Original Message- From: IBM

Re: Dynamic Alocation question

2014-08-04 Thread MichealButz
Thanks so much -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Monday, August 04, 2014 8:59 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Dynamic Alocation question I believe you can concatenate any two allocations

Re: Dynamic Alocation question

2014-08-04 Thread Micheal Butz
, 2014 8:59 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Dynamic Alocation question I believe you can concatenate any two allocations that make sense to concatenate. All you need is the two DD names. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN

Re: Dynamic Alocation question

2014-08-04 Thread MichealButz
AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Dynamic Alocation question Correct I am writing an authorized TSO command processor and would like to concatenated it to STEPLIB/TASKLIB TSOLIB Sent from my iPhone On Aug 4, 2014, at 9:06 AM, Hardee, Chuck mailto:chuck.har

Re: Dynamic Alocation question

2014-08-04 Thread Paul Gilmartin
On Mon, 4 Aug 2014 06:06:59 -0700, Hardee, Chuck wrote: I'm sort of think that the OP is writing something for use under TSO/ISPF because of his query about STEPLIB, TASKLIB and ISPLLIB, which then implies that he may need to preserve a concatenation group, like STEPLIB, before he adds to it

Re: Dynamic Alocation question

2014-08-04 Thread J R
Date: Mon, 4 Aug 2014 09:36:49 -0500 From: 000433f07816-dmarc-requ...@listserv.ua.edu Subject: Re: Dynamic Alocation question To: IBM-MAIN@LISTSERV.UA.EDU ... Can one do *anything* to STEPLIB? I thought it was peculiarly sacred; immutable. But I've never tried a concatenate

Re: Dynamic Alocation question

2014-08-04 Thread Paul Gilmartin
On Mon, 4 Aug 2014 11:29:37 -0400, J R wrote: === Well, the tasklib, whether it be JOBLIB, STEPLIB or some other, is opened at step initiation, so even if you can/could dynamically concatenate something to it, program fetch will continue to use the DEB constructed by that original OPEN.

Re: Dynamic Alocation question

2014-08-04 Thread J R
...@listserv.ua.edu Subject: Re: Dynamic Alocation question To: IBM-MAIN@LISTSERV.UA.EDU On Mon, 4 Aug 2014 11:29:37 -0400, J R wrote: === Well, the tasklib, whether it be JOBLIB, STEPLIB or some other, is opened at step initiation, so even if you can/could dynamically concatenate something to it, program

Re: Dynamic Alocation question

2014-08-04 Thread Micheal Butz
Subject: Re: Dynamic Alocation question To: IBM-MAIN@LISTSERV.UA.EDU ... Can one do *anything* to STEPLIB? I thought it was peculiarly sacred; immutable. But I've never tried a concatenate-deconcatenate operation. I'm trying to imagine what happens if one LOADs a module from the newly

Re: Dynamic Alocation question

2014-08-04 Thread Walt Farrell
On Mon, 4 Aug 2014 12:55:10 -0400, Micheal Butz michealb...@comcast.net wrote: Wait open at step initiation I am talking about TSOLIB which I Believe I can load am APF authorized program from Yes, you can load APF-authorized programs from TSOLIB, _if_ all the data sets in the TSOLIB