Re: COBOL calling C functions, run program under ispf and z/OS UNIX

2011-03-21 Thread Steve Comstock
On 3/21/2011 1:21 PM, John McKown wrote: Interesting code. I don't know that I like using C functions to OPEN and READ the file in COBOL. It seems to bypass some of the normal COBOL functionality that COBOL programmers would want. Huh? What sort of functionality can't be used here? I'd likely

Re: COBOL calling C functions, run program under ispf and z/OS UNIX

2011-03-21 Thread John McKown
Interesting code. I don't know that I like using C functions to OPEN and READ the file in COBOL. It seems to bypass some of the normal COBOL functionality that COBOL programmers would want. I'd likely use "environment variable" facility in the ASSIGN clause as documented: http://publibz.boulder.ib

COBOL calling C functions, run program under ispf and z/OS UNIX

2011-03-21 Thread Steve Comstock
Over on the mvs-oe list there was a thread about how to run a program under the z/OS UNIX shell. I was never quite clear what the OP was trying to accomplish so I finally just posted a COBOL program and how to run it. I was kinda' proud of the code because I think you'll find most COBOL programme