IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Query on edit primary command


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
PriyaMougoundane

New User


Joined: 28 Jul 2023
Posts: 4
Location: India

PostPosted: Fri Jul 28, 2023 3:02 pm
Reply with quote

Hi,

I trying to build a macro to perform copy based on the labels and lines I provide from the source member to the destination member without doing the work of creating and paste it in another window. I am facing issue with copy command , it gives an error saying label missing though the label is provided.
detailed message :
label missing
you must specify a label after the BEFORE/AFTER keyword.
Error message ID : ISRE297
RC : 20

I am attaching my code your reference.

/**REXX****/
ADDRESS ISREDIT
"MACRO (DNAME)"
"CREATE "DNAME" .A .B"
IF RC > 0 THEN
"(LINE1) = LINENUM .A"
"(LINE2) = LINENUM .B"
"COPY "DNAME" AFTER .ZLAST "LINE1" "LINE2""

I kindly request you to guide me on this .

Thank you,
Priya Mougoundane.
Back to top
View user's profile Send private message
PriyaMougoundane

New User


Joined: 28 Jul 2023
Posts: 4
Location: India

PostPosted: Fri Jul 28, 2023 3:22 pm
Reply with quote

Kindly ignore this post
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Need help with ADABAS query (COBOL-AD... All Other Mainframe Topics 0
No new posts REXX/CMS How to place command console... CLIST & REXX 4
No new posts Help needed in automation cics transa... CLIST & REXX 1
No new posts How to Login in to cics region and is... CICS 9
No new posts Passing containers on START command CICS 4
Search our Forums:

Back to Top