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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts RC query -Time column CA Products 3
Search our Forums:

Back to Top