select member

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
ravi30
Posts: 11
Joined: Wed Dec 19, 2007 3:42 pm
Skillset: vs cobol ii,jcl,cics,db2,vsam,
Referer: by browsing

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?

madhavmannem
Posts: 6
Joined: Wed Dec 19, 2007 12:27 am
Skillset: cobol
Referer: friend

Re: select member

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

it copies sysut1 to sysut2 aswell as mem1 to mem2

vasanthamugi
Posts: 14
Joined: Thu Dec 20, 2007 2:38 pm
Skillset: mainframe skills: jcl,vsam,cobol,db2,cics
Referer: ibmmainframes.com

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


  • Similar Topics
    Replies
    Views
    Last post