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
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts Formating the Input file sreekusr DFSORT/ICETOOL 3 Fri Feb 17, 2017 10:40 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


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