I wrote a utility a couple of years ago in COBOL which takes the output from the FREEWARE program TAPESCAN and builds the JCL required to restore the datasets(writing it to the JES2 internal reader). It was a very simple and easy to write program. The one that I wrote generated two possible sets of JCL, one for PS files and one for PDSs.

When you are creating the new datasets, you need to remember that MVS takes the last 17 bytes of the dataset name and uses that for the dataset name on tape. So, what I did was append a prefix in front of the 17 character name in the generated JCL. Care should be taken to remove any periods that start the dataset name from the tape.

Mautalen Juan Guillermo wrote:

Thanks Radoslaw,

I want the datasets created on disk to have the same name they have on
tape (as is stored in the tape label). I know what these names are, and
they are compatible with our DASD datasets naming standards.

Why cannot DITTO (or other utility program), just read each tape dataset
label, allocate a disk dataset with the same name, copy, and then
proceed with next label, continuing this way until EOV is reached).

On the other hand, i dont know what is considered a "piece of cake" in
Poland, but i have around 50 tapes volumes, each one containing around
100 labels.   :-)


JUA MAUTALEN


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