I don't know about LMCOPY, but my experience with TRANSMIT is similar. Running a batch IKJEFT01 with a SYSPRINT DD in the JCL allocated to SYSOUT=* and executing multiple TRANSMIT commands in SYSTSIN you still get SYS00003, SYS00004, etc., outputs in the batch job, one for each TRANSMIT execution, each with the IEBCOPY "SYSPRINT" output from the PDS copy operation, and NO output to the allocated SYSPRINT DD at all.. I suspect in the case of TRANSMIT that the TRANSMIT code (not IEBCOPY) is unconditionally dynamically allocating SYSnnnnn to SYSOUT and then passing the generated DD name to IEBCOPY in the callable PARM list.
Peter -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Lionel B. Dyck Sent: Friday, March 3, 2023 10:13 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: One more REXX Question Just alloc dd ISPLOG to the dataset you want with a DISP=MOD That should do it Lionel B. Dyck <>< Website: https://urldefense.com/v3/__https://www.lbdsoftware.com__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!J4BFRZWQCDGMGP8O1nmWpOFbD-BzIVWlV4_SKN7bIncQ7rY6uVMsq8Qt-T9np5x4S2mTnJm5rGkMV1My0Bo$ Github: https://urldefense.com/v3/__https://github.com/lbdyck__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!J4BFRZWQCDGMGP8O1nmWpOFbD-BzIVWlV4_SKN7bIncQ7rY6uVMsq8Qt-T9np5x4S2mTnJm5rGkMaEAuqSg$ “Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Cameron Conacher Sent: Friday, March 3, 2023 9:04 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: One more REXX Question Hello Lionel, I am assuming that dataset LBDYCK.SPFLOG1.LIST contain the IEBCOPY output log information? And that this file was automatically allocated when your Batch JOB ran. (You did not pre-allocate before running the JOB). I want to try to use my own dataset name for this. Something like: CAMERON.SPFLOG1.LIST With DISP=MOD. But I do not understand how I can introduce this file so that when LMCOPY invokes IEBCOPY, IEBCOPY will write its log data there. I am running the REXX JOB in Batch (like you). I have tried assigning my own dataset names for SYSOUT, SYSPRINT and SYSTSPRT. But none catch any of the IEBCOPY output log data. And the other files are automatically generated for the JOB, every time I issue an LMCOPY command. I will try to find something in the Google Group for ISPF. If I find anything I will share. Thanks …….Cameron From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Lionel B. Dyck Sent: Friday, March 3, 2023 9:22 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [External] Re: One more REXX Question In my simple test I don't see any sysout. in = 'lbdyck.test.pds' out = 'lbdyck.test.pdse' Address ISPexec "lminit dataid(indd1) dataset('"in"')" "lminit dataid(outdd1) dataset('"out"')" "lmcopy fromid("indd1") todataid("outdd1")" , "frommem(a*) replace" "lmcopy fromid("indd1") todataid("outdd1")" , "frommem(b*) replace" "lmfree dataid("indd1")" "lmfree dataid("outdd1")" What I see in the batch execution is this: ispf cmd(%tlmcopy) LBDYCK.SPFLOG1.LIST has been kept. READY But no other sysout datasets. Lionel B. Dyck <>< Website: https://urldefense.com/v3/__https://www.lbdsoftware.com__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!J4BFRZWQCDGMGP8O1nmWpOFbD-BzIVWlV4_SKN7bIncQ7rY6uVMsq8Qt-T9np5x4S2mTnJm5rGkMV1My0Bo$ <https://urldefense.com/v3/__https://isolate.menlosecurity.com/1/3735928037/https:/www.lbdsoftware.com__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!J4BFRZWQCDGMGP8O1nmWpOFbD-BzIVWlV4_SKN7bIncQ7rY6uVMsq8Qt-T9np5x4S2mTnJm5rGkM-zul5wE$ > Github: https://urldefense.com/v3/__https://github.com/lbdyck__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!J4BFRZWQCDGMGP8O1nmWpOFbD-BzIVWlV4_SKN7bIncQ7rY6uVMsq8Qt-T9np5x4S2mTnJm5rGkMaEAuqSg$ <https://urldefense.com/v3/__https://isolate.menlosecurity.com/1/3735928037/https:/github.com/lbdyck__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!J4BFRZWQCDGMGP8O1nmWpOFbD-BzIVWlV4_SKN7bIncQ7rY6uVMsq8Qt-T9np5x4S2mTnJm5rGkMZ5Wf5hU$ > “Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>> On Behalf Of Paul Gilmartin Sent: Friday, March 3, 2023 8:10 AM To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU> Subject: Re: One more REXX Question On Fri, 3 Mar 2023 09:40:18 +0200, ITschak Mugzach wrote: >Allocate syspront as MOD instead of share and all outputs will be >written to same file (do not free and allocate syspront every call) > Does the description of LMCOPY in the ISPF Services Guide,SC19-3626-50, mention the use of SYSPRONT or any similar DDNAME? If not, thd documentation is defective/ >בתאריך יום ו׳, 3 במרץ 2023 ב-5:02 מאת Paul Gilmartin: > >> This is less a REXX question than an ISPF question, and might get >> more focused replies in ISPF-LIST. >> >> On Thu, 2 Mar 2023 23:56:52 +0000, Cameron Conacher wrote: >> > ... >> >When the LMCOPY runs, it writes some IEBCOPY processing messages to >> >a >> generated file name, which has a high level qualifier of the RACF ID >> under which the JOB runs. >> >If two members are copied, LMCOPY is executed twice, and two IEBCOPY >> files are generated..... if 100 members are copied I get 100 IEBCOPY >> files generated. >> > >> I'm slightly surprised. But I've used LMCOPY only to copy a PS data >> set to a PDS mdmber. >> IEBCOPY isn't needed (or allowed) for that operation. >> >> Likewise, IEBCOPY shouldn't be necessary to copy PDS member to PDS member. >> >> But does LMCOPY replicate the directory user info? The Ref. doesn't say. >> >> Are the members program objects? >> >> >My question is this, can I direct all of the IEBCOPY output >> >(assuming it >> is SYSPRINT) directed to one single output file? >> >So, instead of seeing 100 individual IEBCOPY, I only get one single >> consolidated file with a name of my choosing? -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN