THANK YOU

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Hardee, Chuck
Sent: Monday, August 04, 2014 8:54 AM
To: [email protected]
Subject: Re: Dynamic Alocation question

If the dataset is not allocated in your JCL, then yes, you must allocate it
and you will need to use the DALRTDDN to have the SVC 99 processor return to
your program the DDName it generated and then you will need to supply that
DDName in the list of DDNames you want to concatenate.

Alternatively, you can allocate it and supply your own DDName in which case
you would use that DDName in the concatenation list.

As to the concatenation of anything using involving ISPLLIB, TASKLIB or
STEPLIB, I have never attempted anything with them so I can't answer your
question. I would, however, suggest you find a copy of the MVS Authorized
Assembler Services Guide, and read Chapter 26. Requesting dynamic allocation
functions. There is a discussion of what happens during dynamic
concatenation and its effects on allocations involving DDs that were
preexisting versus dynamically created, etc.

Whether it will be a problem or not for you I can't say, but play around
with ISPLLIB, TASKLIB and/or STEPLIB very cautiously. Especially if you are
going to de-concatenate something you have concatenated yourself.

Chuck

Charles (Chuck) Hardee
Senior Systems Engineer/Database Administration CCG Information Technology
Thermo Fisher Scientific
300 Industry Drive
Pittsburgh, PA 15275
Direct: 724-517-2633
FAX: 412-490-9230
[email protected]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of MichealButz
Sent: Monday, August 04, 2014 8:45 AM
To: [email protected]
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 ?

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Hardee, Chuck
Sent: Monday, August 04, 2014 6:37 AM
To: [email protected]
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 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 S99VERB would be S99VRBCC in your DYNALLOC control block.
Then, your text unit to allocate 2 DDs, DDN1 and DDNAME2, would be:

DC      S(DCCDDNAM),S(2),S(5),CL5'DDN01',S(7),CL7'DDNAME2'

The "2" is the number of DDNames in the list and the list follows
immediately with length/DDName pairs.
The text unit, DDName count and DDName lengths are all halfwords.

There are some implications with respect to de-concatenation, but you'll
need to read up on those yourself.
They can be found in the MVS Authorized Assembler Services Guide, Chapter
26. Requesting dynamic allocation functions.


Hope this helps.

Chuck

Charles (Chuck) Hardee
Senior Systems Engineer/Database Administration CCG Information Technology
Thermo Fisher Scientific
300 Industry Drive
Pittsburgh, PA 15275
Direct: 724-517-2633
FAX: 412-490-9230
[email protected]

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of MichealButz
Sent: Sunday, August 03, 2014 9:45 PM
To: [email protected]
Subject: Dynamic Alocation question

I keep on getting 0360 In the S99ERROR filed

 

Invalid text key

 

I have the following question can I dynamically concatenate a dataset to one
the wasn't dynamically allocated and if so what would the text key be for
the ddname X'0001' DALDDNAM or X'0055' Return ddname

 

I have looked for documentation and couldn't find any

 

Thanks


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to