pugliese20020

Lieutenant Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-23
21:42
154 views
Passing Data to Program from Command line under Window
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
2 Replies
Chris Glazier

Micro Focus Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-24
12:52
There are several methods of performing this task in Visual COBOL.
This is covered in the docs here:
pugliese20020

Lieutenant Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-03-28
10:50
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.