select member



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

select member

Postby ravi30 » Sat Dec 22, 2007 9:52 pm

this is a sysin of pgm using iebcopy
//sysin dd *
copy indd=sysut1,outdd=sysut2
select member=(mem1,mem2)
//*

Now what does this pgm do?

Does it copy's contents of sysut1 to sysut2 and also adds fresh members OR does it only copies the mem1 and mem2 members of sysut1 to sysut2?
ravi30
 
Posts: 11
Joined: Wed Dec 19, 2007 3:42 pm
Has thanked: 0 time
Been thanked: 0 time

Re: select member

 

Re: select member

Postby madhavmannem » Mon Dec 24, 2007 1:09 am

it copies sysut1 to sysut2 aswell as mem1 to mem2
madhavmannem
 
Posts: 6
Joined: Wed Dec 19, 2007 12:27 am
Has thanked: 0 time
Been thanked: 0 time

Re: select member

Postby vasanthamugi » Wed Dec 26, 2007 2:04 pm

hello ,
that statement is used for copying from one to other. the mem1 and mem2 from the INDD will be copied to OUTDD

i.e. the other member in the INDD will not be copied only the mem1 , mem2 are copied in OUTDD
vasanthamugi
vasanthamugi
 
Posts: 14
Joined: Thu Dec 20, 2007 2:38 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post