Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Hello and welcome to the forums,
You will be ahead if you pass all of your information as one parm and redefine the parameter data in the linkage section into the multiple fields you need. You probably do not want to code for variable length and/or keyword parameters in your first parameter-using cobol program.
Joined: 31 Oct 2006 Posts: 972 Location: Richmond, Virginia
To slightly elaborate, I prefer to require the EXEC card parms to be separated by commas, and so I define fields for the commas and check for them. If they aren't there, then most likely the parms have been mis-specified, so I kill the run: