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
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.
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