IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can REXX Accept input from the SYSIN DD *


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Jan 21, 2009 10:31 pm
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
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
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

Moderator Emeritus


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

PostPosted: Wed Jan 21, 2009 11:13 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top