IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Copy Non-VSAM files with PGCFLFM


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
riju_luvjust

New User


Joined: 04 Oct 2006
Posts: 18

PostPosted: Sun Oct 14, 2007 8:12 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sun Oct 14, 2007 9:05 pm
Reply with quote

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
View user's profile Send private message
raviprasath_kp
Warnings : 1

New User


Joined: 20 Feb 2005
Posts: 65
Location: chennai

PostPosted: Fri Oct 19, 2007 1:15 pm
Reply with quote

try with fileaid options
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top