View previous topic :: View next topic
|
Author |
Message |
rohit-natural
New User
Joined: 06 Jun 2006 Posts: 3
|
|
|
|
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 |
|
|
vasanthanc
New User
Joined: 01 Apr 2005 Posts: 58
|
|
|
|
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 |
|
|
vasanthanc
New User
Joined: 01 Apr 2005 Posts: 58
|
|
|
|
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 |
|
|
rohit-natural
New User
Joined: 06 Jun 2006 Posts: 3
|
|
|
|
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 |
|
|
|