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
 

 

Accept a value from SYSIN

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
rohit-natural

New User


Joined: 06 Jun 2006
Posts: 3

PostPosted: Tue Jun 06, 2006 11:33 am    Post subject: Accept a value from SYSIN
Reply with quote

Hi All
This is my first post at the forum. I am interested to know how do we accept values in a natural program from a JCL for a step that executes a Natural program. I am new to Natural. In Cobol we used to use ACCEPT statement for the same purpose.
Please help
Thanks in advance.
Rohit
Back to top
View user's profile Send private message

vasanthanc

New User


Joined: 01 Apr 2005
Posts: 58

PostPosted: Tue Jun 06, 2006 6:45 pm    Post subject:
Reply with quote

Hi Rohit

I dont know much about cobol. Can you please explain me in detail, what is your requirement? What value you want to pass from JCL to Natural?

Regards
Vasanth
Back to top
View user's profile Send private message
vasanthanc

New User


Joined: 01 Apr 2005
Posts: 58

PostPosted: Tue Jun 06, 2006 6:48 pm    Post subject:
Reply with quote

I think ACCEPT is to take input from user in COBOL. Similarly in NATURAL you can use INPUT. INPUT stmt will read values from user in online programs. I have not tried passing values from JCL using SYSIN. But probably it will work for you.
Back to top
View user's profile Send private message
rohit-natural

New User


Joined: 06 Jun 2006
Posts: 3

PostPosted: Tue Jun 06, 2006 7:57 pm    Post subject:
Reply with quote

Thanks Vasanth
I tried using INPUT and it worked.
I was able to read the data from the JCL into the program.
Thanks A Lot
Looking forward for the same kind of guidance.
Regards
Rohit
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 -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need to know what sysin for DFHTU690 ... pkmurali CICS 3 Mon Jul 25, 2016 1:36 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts SYSIN PDS Library Concatenation Brad McCoy JCL & VSAM 6 Mon Jul 07, 2014 11:49 pm
No new posts Can't specify a dataset to SORT SYSIN? dejunzhu DFSORT/ICETOOL 5 Tue Nov 05, 2013 1:01 pm
No new posts Can SYSIN errors be rectified without... techie09 JCL & VSAM 17 Thu Oct 31, 2013 11:59 am


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