@peter - my testing was done in batch ๐ Here is the jcl that I used if that helps:
//LBDYCKXX JOB LBD,'LIONEL',REGION=0M,NOTIFY=&SYSUID //OUT OUTPUT DEFAULT=YES,JESDS=ALL,OUTDISP=(HOLD,HOLD) //ISPF EXEC PGM=IKJEFT1B,DYNAMNBR=50 //SYSEXEC DD DISP=SHR,DSN=LBDYCK.LIONEL.EXEC //ISPMLIB DD DISP=SHR,DSN=ISP.SISPMENU //ISPPLIB DD DISP=SHR,DSN=ISP.SISPPENU //ISPTLIB DD DISP=SHR,DSN=ISP.SISPTENU //ISPSLIB DD DISP=(,DELETE),SPACE=(TRK,(1,1,1)),UNIT=VIO, // DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160) //ISPPROF DD DISP=(,DELETE),SPACE=(TRK,(1,1,1)),UNIT=VIO, // DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160) //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * PROFILE PREFIX(LBDYCK) ispf cmd(%tlmcopy) /* Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck โ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 Farley, Peter Sent: Friday, March 3, 2023 10:45 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: One more REXX Question I do not believe that when LMCOPY calls IEBCOPY under the covers that it wants or intends to use ISPLOG for print output - I believe it is allocating new "print" files unconditionally like TRANSMIT does and passing the new DD names to IEBCOPY to use for the IEBCOPY SYSPRINT output. I could be wrong, but I think messing around with ISPLOG will not change the results. Lionel, I think you need to test only in batch to see if you can affect the results -- when you are actually online in TSO/ISPF the rules are different because the allocations just go directly to your TSO session (SYSOUT(*) goes to your terminal session). There may not be any way around it. Peter -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Itschak Mugzach Sent: Friday, March 3, 2023 11:35 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: One more REXX Question EXTERNAL EMAIL So try isplog do ddname=syspront ืืชืืจืื ืืื ืืณ, 3 ืืืจืฅ 2023 ื-17:29 ืืืช Cameron Conacher < 000003cfc59146bb-dmarc-requ...@listserv.ua.edu>: > Hello Lance, > I allocated a dataset and then included my new dataset name with the > DD statement ISPLOG (DISP=MOD), but IEBCOPY still generates its own > files and nothing is written to the ISPLOG file specified by the DD statement. > > > Thanks > > โฆโฆ.Cameron > > 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: [External] 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 <>< <Snipped> > โ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 Cameron Conacher > Sent: Friday, March 3, 2023 9:04 AM > To: IBM-MAIN@LISTSERV.UA.EDU<mailto: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<mailto: > 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<mailto: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 <>< <Snipped> > > โ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><mailto: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><mailto: > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN