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

Accept a value from SYSIN


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts COBOL reading from SYSIN COBOL Programming 1
No new posts concatenate sysin to dsn JCL & VSAM 7
No new posts "Standard" SYSIN, SYSPRINT ... PL/I & Assembler 0
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... JCL & VSAM 12
No new posts Need to know what sysin for DFHTU690 ... CICS 3
Search our Forums:

Back to Top