Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Multiple LMCOPY resulting incorrect copy

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
k.junaid83

New User


Joined: 19 Apr 2006
Posts: 22
Location: bangalore

PostPosted: Tue Sep 02, 2014 7:22 pm    Post subject: Multiple LMCOPY resulting incorrect copy
Reply with quote

Hello All,


In one of my REXX EXEC I am doing a series to LMCOPY from different input files to different members of a same PDS, however after the copy I am observing that the 2nd member has some text of 1st member created from the first LMCOPY command appended at the end.
I am also doing a LMFREE still the data on the members followed by 1st member keeps appending at the end.
I beileve the 1st member copied has the largest number of lines and during the 2nd LMCOPY some of the extra lines still exist in the clipboard.

"LMCOPY FROMID("INID1") TODATAID("OUTID") TOMEM("R2RJRS11") REPLACE"
"LMFREE DATAID("INID1")"
"LMCOPY FROMID("INID2") TODATAID("OUTID") TOMEM("R2RJRS12") REPLACE"
"LMFREE DATAID("INID2")"
"LMCOPY FROMID("INID3") TODATAID("OUTID") TOMEM("R2RJRS13") REPLACE"
"LMFREE DATAID("INID3")"

Is there a way we can refresh the clipboard before we proceed with the next LMCOPY operation?
Back to top
View user's profile Send private message

prino

Active Member


Joined: 07 Feb 2009
Posts: 989
Location: Oostende, Belgium

PostPosted: Tue Sep 02, 2014 8:16 pm    Post subject:
Reply with quote

There is no clipboard used in LMCOPY operations!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us