JCL to create backups of PDS's

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

JCL to create backups of PDS's

Postby deucalion0 » Thu Oct 23, 2014 4:32 pm

Hello all!

I have spent a whole day trying to figure out if it is possible to create backups of my datasets in a JCL job.

What I need to do is:

read in a dataset such as:


and create a new dataset using the same allocation parameters like the one read in, using the same name but appending the qualifier new to the end, like this:


Then copy all members from old dataset to new dataset.

I seen that you can use the LIKE parameter to create a dataset with the same allocation parameters, is this what I need?

Any advice on this would be appreciated, my JCL skills are that of a beginner and I felt the documentation on IBM's site quite advanced for me.

Thank you!
Posts: 57
Joined: Thu Jul 31, 2014 3:47 pm
Has thanked: 32 times
Been thanked: 0 time

Re: JCL to create backups of PDS's


Re: JCL to create backups of PDS's

Postby enrico-sorichetti » Thu Oct 23, 2014 4:54 pm

why not ask Your support for the procedure to use ...
read about the capabilities of DFDSS(ADRDSSU)
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
Global moderator
Posts: 2692
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 138 times

Return to JCL


  • Related topics
    Last post