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
 
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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