IEBCOPY handling.

JES2/3, JCL, utilities.
Post Reply
Abhi Lalwani
New Member
Posts: 6
Joined: Tue Feb 02, 2016 2:41 pm

IEBCOPY handling.

Post by Abhi Lalwani »

Hey,

Anyone used IEBCOPY??

I am trying to copy members from PDS1 to PDS2..

How to handle situations when a member is not present in PDS1 ???
Abhi Lalwani
New Member
Posts: 6
Joined: Tue Feb 02, 2016 2:41 pm

Re: IEBCOPY handling.

Post by Abhi Lalwani »

In case 1 member is not present I still want to copy other members from one PDS to other.
User avatar
zum13
Registered Member
Posts: 85
Joined: Thu May 04, 2023 12:58 am

Re: IEBCOPY handling.

Post by zum13 »

Hello.

It should just issue a warning like this for the members that weren't found

Code: Select all

IEB177I <member> WAS SELECTED BUT NOT FOUND IN ANY INPUT DATA SET
and give you condition code 4. The rest of the selected members (where they exist) should have been copied.
Abhi Lalwani
New Member
Posts: 6
Joined: Tue Feb 02, 2016 2:41 pm

Re: IEBCOPY handling.

Post by Abhi Lalwani »

Thanks zum13.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”