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://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 <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: Friday, March 3, 2023 8:10 AM
To: [email protected]
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?

--
gil

----------------------------------------------------------------------
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