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
 

 

Error in calling one rexx from another

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

New User


Joined: 03 Dec 2007
Posts: 58
Location: Bangalore

PostPosted: Thu Dec 27, 2007 4:41 pm    Post subject: Error in calling one rexx from another
Reply with quote

I get output only after i hit return keys thrice while Calling one rexx pgm from another.
How to overcome this error?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10278
Location: italy

PostPosted: Thu Dec 27, 2007 4:51 pm    Post subject: Reply to: Error in calling one rexx from another
Reply with quote

We cannot tell without looking at Your screen

do You have any pull around..

do Your rexx scripts write to the screen,
and the display stops with 3 asterisks ?? waiting for You to hit enter in order
to display more data ...
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Dec 27, 2007 4:51 pm    Post subject:
Reply with quote

not a very good description of your problem. you are going to have to elaborate before anyone can really helpl.
Back to top
View user's profile Send private message
Sikkandhar

New User


Joined: 03 Dec 2007
Posts: 58
Location: Bangalore

PostPosted: Thu Dec 27, 2007 5:01 pm    Post subject:
Reply with quote

This is the actual problem.

In the first screen, i give 2 values. According to the value entered the flow moves to another rexx whose function is to write 2 files using the queue statement. I have used CALL statement to transfer control to the other rexx program.

Now, what happens is that the execution happens perfectly, as in the files are getting written with the exact data. But, this happens only after i hit enter thrice.

I tried doing a trace, but there was no error message. Only after hitting enter thrice did i get the 3 asterisks.

Hope i have made myself clear.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10278
Location: italy

PostPosted: Thu Dec 27, 2007 5:09 pm    Post subject: Reply to: Error in calling one rexx from another
Reply with quote

Quote:
queue statement


that what happens using the queue approach...

why aren' t You using the stem technique...

more performing and less prone to left overs

having to hit enter is related usually to the queue approach ..
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 Iterative use of a REXX script causin... bryonyh CLIST & REXX 3 Fri Jul 28, 2017 12:52 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm


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