On Fri, 26 Sep 2008 09:59:39 -0500, Field, Alan C.
<[EMAIL PROTECTED]> wrote:

>Have you got a COBOL program that can read any file?
>
>If you do, it can read a PDS member by specifying pdsname(member) in the
JCL, e.g //MYDD DD DISP=SHR,DSN=MYPDS(MYMEMBER)
>

My guess is that the OP needs to be able to dynamically specify the member
name to read. I've had similar requests in the past. The program has the
PDS, without a member name, allocated to a DD statement. The programmer
wants some way to read a control file which will contain the member name to
read from that PDS.

--
John

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to