On Mon, Jan 25, 2016 at 1:33 PM, Paul Gilmartin <
[email protected]> wrote:

> On 2016-01-25 12:28, Tom Marchant wrote:
> > On Mon, 25 Jan 2016 11:41:50 -0700, Paul Gilmartin wrote:
> >
> >> Can COBOL v5 objects be bound into UNIX files?
> >
> > Yes. A program object can be stored in either a PDSE or a Unix file.
> >
> Understood.  I even believe that only Program Objects, not Load modules
> can be stored in UNIX files.  The sense of my question was, does COBOL
> v5 require other facilities of PDSE beyond Program Object?
>
> I know one restriction: ALIASes are ineffective for Program Objects in
> UNIX files.  However when a UNIX Program Object is bound back to a PDSE
> member, the ALIASes magically reappear.
>

​That's interesting. Well, to me it is. I wonder why the BINDER doesn't
create a SYMLINK or a hard link for the alias. And it makes me think that
if _I_ were to do so afterwards, that it would not have the same effect as
it does with a PDSE. That is, it would not invoke the CSECT with the same
name as the "alias" as it does for a PDSE.

Oh, well, last I looked some UNIX person wrote that having a single
executable with multiple names where the action of the program differs
depending on the name with which it was invoked (e.g. gzip vs. gunzip) was
no longer considered good practice. That there should only be a single name
and the alternate action specified via a switch (e.g. gzip -d instead of
gunzip).​



>
> -- gil
>
>

-- 
Werner Heisenberg is driving down the autobahn. A police officer pulls
him over. The officer says, "Excuse me, sir, do you know how fast you
were going?"
"No," replies Dr. Heisenberg, "but I know where I am."

Computer Science is the only discipline in which we view adding a new wing
to a building as being maintenance -- Jim Horning

Schrodinger's backup: The condition of any backup is unknown until a
restore is attempted.

He's about as useful as a wax frying pan.

Maranatha! <><
John McKown

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

Reply via email to