IBM Support

How to redirect stdin to be a COBOL input file?

Question & Answer


Question

I want to execute my program at the command line like this: $ myprog < XYZ.txt What is the syntax of the SELECT statement to allow this?

[{"Product":{"code":"SS6SGM","label":"COBOL for AIX"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Runtime","Platform":[{"code":"PF002","label":"AIX"}],"Version":"2.0;3.1","Edition":"","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

PMR_74661_004_000

Document Information

More support for:
COBOL for AIX

Software version:
2.0, 3.1

Operating system(s):
AIX

Document number:
339839

Modified date:
08 August 2018

UID

swg21206848

Manage My Notification Subscriptions