View previous topic :: View next topic
|
Author |
Message |
riju_luvjust
New User
Joined: 04 Oct 2006 Posts: 18
|
|
|
|
I want to copy some 2000 the NON-VSAM files(SEQ and PDS) with HLQ PGCFLFN to PGCFLFM.
let say PGCFLFN.* to PGCFLFM.*
Could some one please guide me how to do this task in JCL. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
the usual note...
YOU CANNOT DO IT WITH JCL....
JCL can be used to invoke an utility which will do what Yo need to be done
here is a sketch of what You need to submit
Code: |
//COPY EXEC PGM=ADRDSSU,REGION=choose_a_region_size(4M)
//*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY DATASET( -
INCLUDE( -
Your_from_qualifier.** -
)) -
CANCELERROR -
CATALOG -
RENAMEUNCONDITIONAL(Your_dest_high_level_qualifier) -
ADMINISTRATOR -
WAIT(2,2)
/*
|
this is a sample, consult the manual for the appropriate docs |
|
Back to top |
|
|
raviprasath_kp Warnings : 1 New User
Joined: 20 Feb 2005 Posts: 65 Location: chennai
|
|
|
|
try with fileaid options |
|
Back to top |
|
|
|