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
 

 

Can REXX Accept input from the SYSIN DD *

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

New User


Joined: 21 Jan 2009
Posts: 6
Location: Bangaloe

PostPosted: Wed Jan 21, 2009 10:20 pm    Post subject: Can REXX Accept input from the SYSIN DD *
Reply with quote

Can REXX Accept input from the SYSIN DD * if yes how it can be ..Both that i specified are Keys to an input file Or else I can use Sort cards to process this...

For Eg
SYSIN DD *
ABC
744
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jan 21, 2009 10:31 pm    Post subject:
Reply with quote

Hello and welcome to the forum,

Quote:
Can REXX Accept input from the SYSIN DD * if yes how it can be

Yes, SYSIN is just another DD that may be read (not the cobol accept).

Quote:
Both that i specified are Keys to an input file Or else I can use Sort cards to process this...
Please clarify - i do not understand what this is asking/saying. . . icon_confused.gif
Back to top
View user's profile Send private message
ManojPrabakaran

New User


Joined: 21 Jan 2009
Posts: 6
Location: Bangaloe

PostPosted: Wed Jan 21, 2009 10:40 pm    Post subject:
Reply with quote

Thanks I got it
Manoj
Back to top
View user's profile Send private message
ManojPrabakaran

New User


Joined: 21 Jan 2009
Posts: 6
Location: Bangaloe

PostPosted: Wed Jan 21, 2009 10:51 pm    Post subject:
Reply with quote

Hi Scherrer
icon_question.gif How to pass this SYSIN DD * value to the REXX as a value.

Eg Passing the Value of
SYSIN DD *
ABC

My doubt is how to pass this value ABC into the REXX Exec.
Can You please Clarify..
Thanks
Manj
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jan 21, 2009 11:13 pm    Post subject:
Reply with quote

Hello,

The data is not "passed" - it is read just as any file would be. The dataset would need to be allocated and then the data read (possibly into a stem variable).
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am


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