Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
IRX0006I Error running...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
dbordon

New User


Joined: 25 Jan 2007
Posts: 6
Location: Argentina

PostPosted: Wed Jun 16, 2010 2:40 am    Post subject: IRX0006I Error running...
Reply with quote

i´m installing a popular LRS´s product. REXX does not understand the QUEUE line. Or Am i not understanding it correctly.
this is the output for the job that ends with MAXCC=3622
Code:
  4 *-* TRACE SCAN                                                         
  5 *-* X = PROMPT(ON)                                                     
  6 *-* OPREFIX = SFTW                                                     
  7 *-* VOLSER  = INS003                                                   
  8 *-* ARG MEMBER OUTDSN                                                   
  9 +++ QUEUE "RESTORE DA('"OPREFIX"."OUTDSN"') UNIT(SYSDA) RELEASE VOLUME("VOLSER")¨   QUEUE "END"
                                        "RECEIVE INDSNAME('"OPREFIX".LRS.PRODUCT.PDS("MEMBER")')"                       EXIT RC
IRX0006I Error running OBTAIN, line 9: Unmatched "/*" or quote


and this is the REXX
Code:
/* REXX EXEC                      */                                   
/*                                */                                   
/*                                */                                   
 TRACE SCAN                                                             
 X = PROMPT(ON)                                                         
 OPREFIX = SFTW                                                         
 VOLSER  = INS003                                                       
 ARG MEMBER OUTDSN                                                     
 QUEUE "RESTORE DA('"OPREFIX"."OUTDSN"') UNIT(SYSDA) RELEASE VOLUME("VOLSER")¨
QUEUE "END"
 "RECEIVE INDSNAME('"OPREFIX".LRS.PRODUCT.PDS("MEMBER")')"             
 EXIT RC
Back to top
View user's profile Send private message
References
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1086
Location: UK

PostPosted: Wed Jun 16, 2010 2:49 am    Post subject:
Reply with quote

I think Improper quote for literal is your problem
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4335
Location: Charlotte,NC USA

PostPosted: Wed Jun 16, 2010 3:12 am    Post subject: Reply to: IRX0006I Error running...
Reply with quote

Your HILITE REXX in your ISPF EDIT settings didn't pick up anything?
Back to top
View user's profile Send private message
Marso

Active Member


Joined: 13 Mar 2006
Posts: 760
Location: Israel

PostPosted: Wed Jun 16, 2010 10:11 am    Post subject:
Reply with quote

The last double-quote in the QUEUE RESTORE line look different than other double-quotes.

BTW,
Code:
 OPREFIX = SFTW                                                         
 VOLSER  = INS003                                                       
is bad. Always put your constants in quotes:
Code:
 OPREFIX = "SFTW"
 VOLSER  = "INS003"
Back to top
View user's profile Send private message
dbordon

New User


Joined: 25 Jan 2007
Posts: 6
Location: Argentina

PostPosted: Wed Jun 16, 2010 7:39 pm    Post subject: Reply to: IRX0006I Error running...
Reply with quote

Thank to all !!!
Everything you said works well.

At some point in the JCL edition i entered a wrong quotes byt typing SHIFT + ´ key instead of the number 2´s key.

Also HILITE REXX give me a hand.

BTW the Return Code for the job was 3622.

Thanks to all and have a good day!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1