On Fri, 13 Jan 2017 13:43:37 -0600, John McKown wrote: > >There is a UNIX command: cob2 which will do a COBOL compile and link. >Basically this is just a "driver" which, as Gil indicated, parses the UNIX >command line parameters, does dynamic allocations for DDs needed and then >does (I think) a normal MVS LINK command to invoke the standard COBOL >compiler. Note that any UNIX directories in the command are allocated to >the proper DD and the "normal" BSAM / BPAM UNIX interface code in the >access method takes care of the I/O. That is, there is no UNIX I/O code in >the COBOL compiler itself. At least, I don't think that there is. This is >why the COBOL COPY verb cannot process a file name like "SOMEFILE.cpy" and >why the file in the UNIX directory must in in UPPER CASE, not in "normal" >lower case. On my system (z/OS 1.12), the cob2 command's full path >is: /usr/lpp/cobol/bin/cob2 > I believe BPAM/BLDL/FIND is case-indifferent and that any UPPER CASE restriction lies in the compiler.
HLASM and Binder have at least enough UNIX I/O code to display pathnames correctly in a data set summary. And in Binder you can select CASE(MIXED). -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
