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
