Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 1243
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 FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 0 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm
No new posts Error in SQL-PLIST3 'Above value tru... rikdeb DB2 4 Wed Sep 06, 2017 1:34 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us