HP3000-L Archives

April 2002, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
leclaire <[log in to unmask]>
Reply To:
Date:
Fri, 26 Apr 2002 20:32:20 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Mary Degallo wrote:
>    ---------------------------------------
>    FILENAME known at RunTime
>    FILENAME is NOT known at COMPILE time.
>    ---------------------------------------
>    C, C++, Java provide a file name that can be specified at RunTime.
>    Where as the way the FD and File Sections in COBOL are,
>     we have to specify the file name at COMPILE time.
>    We have to design our applications around this "feature/limitation".
>    Has anybody, worked around this, using some other "tricks".
>    JCL is one way, but we donot want to get into JCL stuff.
>    How does one do it in a more elegant way?
>
  I assume that your filename question refers to the HP3000 also, and I
remember being *appalled* that HP would not allow an identifier in the
assign-to clause of the select statement.  As I recall (and this goes
back a while) one is forced to resort to an external OS variable which
can be set before execution via UDC (what most would call a macro) and
referenced thru special-names or something of the sort.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2