[Migrated content. Thread originally posted on 12 September 2008]
I'd like to have a bat file that runs a simple batch program but the program accepts parameters at run time from the bat file. Please forgive me but in what I'm used to, some JCL could be written with the following:run prog1
Y
N
end job
PROG1 starts, it sends a display/accept for parm 1 and gets back a 'Y' and then sends a display/accept for parm 2 and gets back an 'N'.
If the bat file contains the following, how do you get PROG1 to accept the run parameters. Adding the 2 parms under the bat file statement won't work. Can the run statement include something like "accept Y,N at start"
C:\\acucobol\\object\\PROG1.acu



