Skip to main content

Hi  to everybody,

I'm trying to figure out how to pass data to my Cobol program that runs on Windows. For mainframes, that would be via the Parm keyword on the JCL Exec Pgm;  for Windows it should be specifying the data to pass on the Command line (e.g. C:\\program path address....\\Progname   "data to pass".).   Any suggestion?

                                                                                                          Thanks

 

Hi  to everybody,

I'm trying to figure out how to pass data to my Cobol program that runs on Windows. For mainframes, that would be via the Parm keyword on the JCL Exec Pgm;  for Windows it should be specifying the data to pass on the Command line (e.g. C:\\program path address....\\Progname   "data to pass".).   Any suggestion?

                                                                                                          Thanks

 

There are several methods of performing this task in Visual COBOL.

This is covered in the docs here:


There are several methods of performing this task in Visual COBOL.

This is covered in the docs here:

Thanks, Chris. I have not tried yet as I need to do some readings beforehand because is not straightforward to me yet. I'll let you know. Thanks.