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: 8593
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 FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Moving UDB database to Db2 on z/OS Keith Hooley DB2 4 Wed Sep 27, 2017 12:38 am
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm

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