Hi everybody,

is there any way to know which concatenated dataset I've read the current
record from ?

To be clear:

FILE1 DD DISP=SHR,DSN=MYDSN1
      DD DISP=SHR,DSN=MYDSN2
      DD DISP=SHR,DSN=MYDSN3

>From a COBOL program:

READ FILE1 INTO MY-RECORD AT END GO E-O-P.

CALL "MYPGM to know the file I've read from".

MYPGM should be assembler I suppose.

I was not able to find anything in TIOT nor JFCB.

Thanks a lot in advance.
Massimo

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to