Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Moving files across LPARS through Shared volume

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Bharath RajaramSridharan

New User


Joined: 10 Dec 2012
Posts: 20
Location: Australia

PostPosted: Wed Jun 26, 2013 10:32 am    Post subject: Moving files across LPARS through Shared volume
Reply with quote

Hi,

I have a requirement to transfer files from one LPAR (GSYS) to another LPAR (TSYS) . We have got a volume VOL001 which is shared between TSYS and GSYS. This volume is a non-SMS managed.

The requirement is the catalogued files (Always AB will be the HLQ - Sequential files,PDS, VSAM,etc,.) which will be created by executing in the jobs in GSYS LPAR, need to be copied to VOL001, catalog in VOL001 and then delete in GSYS LPAR.
To do this I used the below JCL, but I didn't get the required output. The datasets get moved to other volume but not the one that I specify.

Please help me in identifying the issue and correcting it. When I checked the job output, I don't see any warning and error messages.

Code:
//COPY     EXEC PGM=ADRDSSU,PARM=('UTILMSG=YES')               
//SYSPRINT  DD  SYSOUT=*                                       
//SYSIN     DD  *                                             
   COPY DATASET(INCLUDE(AB.**)) -                             
   OUTDYNAM(VOL001)    /* ALLOC VOL VOL001 DYNAMICALLY    */ -
   DELETE CATALOG FORCE -                                     
   TGTALLOC(SOURCE)                                           
/*       
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8657
Location: Back in jolly old England

PostPosted: Wed Jun 26, 2013 11:44 am    Post subject:
Reply with quote

You need to use a special STORCLAS to create NON SMS managed datasets.

This is site specific, so go ask your storage bods.
Back to top
View user's profile Send private message
Bharath RajaramSridharan

New User


Joined: 10 Dec 2012
Posts: 20
Location: Australia

PostPosted: Wed Jun 26, 2013 2:20 pm    Post subject: Moving files across LPARS through Shared volume
Reply with quote

Hi,

Used the below job to complete the requirement.

Code:
//COPY   EXEC PGM=ADRDSSU,PARM=('UTILMSG=YES')
//SYSPRINT DD  SYSOUT=*                                       
//SYSUDUMP DD  SYSOUT=*                                       
//SYSIN    DD  *                                             
  COPY DATASET(INCLUDE(AB.**)) -               
       OUTDY(VOL001) -                                       
       NULLMGMTCLAS  -                                       
       NULLSTORCLAS  -                                       
       BYPASSACS(**) -                                       
       CANCELERROR   -                                       
       CAT           -                                       
       DELETE        -                                       
       FORCECP(0)    -                                       
       PURGE         -                                       
       SPHERE        -                                       
       WAIT(10,10)                                           
//*     
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts RMM Cannot move a volume from SHELF l... tspr52 IBM Tools 0 Thu Mar 01, 2018 3:48 pm
No new posts How to build one file from two input ... daniele DFSORT/ICETOOL 5 Tue Feb 27, 2018 6:45 pm
No new posts Receommendations required for adding ... Alan Playford JCL & VSAM 4 Wed Feb 14, 2018 4:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us