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
 

 

IRX0006I Error running...

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

New User


Joined: 25 Jan 2007
Posts: 20
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

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

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: 4649
Location: Raleigh, 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

REXX Moderator


Joined: 13 Mar 2006
Posts: 1232
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: 20
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
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 DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


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