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
 
Error in execution

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

New User


Joined: 09 Feb 2008
Posts: 95
Location: India

PostPosted: Tue Sep 27, 2011 12:52 am    Post subject: Error in execution
Reply with quote

Hi,

My Rexx code is like below:
Code:
OUTREC =  CMPSTRT1","CMPEND1","VARX1"X"


The values are

CMPSTRT1 = 15
CMPEND1 = 16
VARX1 = 4

Whenever I am trying to run this rexx program I am getting the below error.

Code:
ISPS102                                                                 
                                                                         
Invalid service name                                                       
'15' is not a recognized dialog service name.                           
                                                                         
                                                                         
                                                                         
                                                                         
                                                                         
PYNPRIY,JHLOGPRC,11/09/26,15:08,2,ISR,PGM(ISRUDL) PARM(ISRUDLP) SCRNAME(D
Current dialog statement:                                               
15,16,4X                                                                 
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Tue Sep 27, 2011 12:57 am    Post subject: Reply to: Error in execution
Reply with quote

I don't think the assignment statement is the problem. What are you doing later with OUTREC? Looks like it is somewhere being executed as a command...

What do you want OUTREC to look like, do you want the commas?
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: Tue Sep 27, 2011 12:58 am    Post subject: Reply to: Error in execution
Reply with quote

It's a valid REXX statement. Why does the error message say it's a dialog statement?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1777
Location: Bloomington, IL

PostPosted: Tue Sep 27, 2011 1:25 am    Post subject: Re: Error in execution
Reply with quote

Priyanka Pyne wrote:
Hi,

My Rexx code is like below:
Code:
OUTREC =  CMPSTRT1","CMPEND1","VARX1"X"


The values are

CMPSTRT1 = 15
CMPEND1 = 16
VARX1 = 4

Whenever I am trying to run this rexx program I am getting the below error.

Code:
ISPS102                                                                 
                                                                         
Invalid service name                                                       
'15' is not a recognized dialog service name.                           
                                                                         
                                                                         
                                                                         
                                                                         
                                                                         
PYNPRIY,JHLOGPRC,11/09/26,15:08,2,ISR,PGM(ISRUDL) PARM(ISRUDLP) SCRNAME(D
Current dialog statement:                                               
15,16,4X                                                                 

I presume that you are using a fairly recent version of ISPF as your development environment. I strongly urge you to use HILITE REXX in the profile of the libraries in which you keep your Rexx scripts, as it will be invaluable in finding errors such as these.
Back to top
View user's profile Send private message
Priyanka Pyne

New User


Joined: 09 Feb 2008
Posts: 95
Location: India

PostPosted: Tue Sep 27, 2011 1:34 am    Post subject:
Reply with quote

I think this is because of the continuation line.
Rexx was not able to understand the next continuation line.I used "," (comma) as a continuation and it works.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Tue Sep 27, 2011 1:36 am    Post subject: Reply to: Error in execution
Reply with quote

it would be nice for all of us to be able to understand what You are talking about!
You did not post a bit of useful information icon_evil.gif
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1894
Location: UK

PostPosted: Tue Sep 27, 2011 9:58 am    Post subject:
Reply with quote

hows abouta TRACE?
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

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