> Could be. But, if so, then which version do you get it there exists "AA"
> "Aa" "aA" and "aa" in the same directory?

I think what is being said is the COBOL uppercases the specification of a COPY 
member name (not BLDL or FIND).

For ordinary PDS(E) members, this qualifies as a favor. You can code copy foo 
and pick up member FOO in a PDS(E).

But for USS directories accessed as PDS's, this is no favor, and I think the 
answer to the question above is AA, even if you coded COPY aa or COPY Aa.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of John McKown
Sent: Friday, January 13, 2017 12:51 PM
To: [email protected]
Subject: Re: New free / open source z/OS tools from Dovetailed Technologies

On Fri, Jan 13, 2017 at 2:09 PM, Paul Gilmartin <0000000433f07816-dmarc- 
[email protected]> wrote:

> 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.
>

Could be. But, if so, then which version do you get it there exists "AA"
"Aa" "aA" and "aa" in the same directory?​

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to