Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Importing and Exporting a User Catalog

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
crazyf1

New User


Joined: 05 May 2006
Posts: 27

PostPosted: Tue Aug 08, 2006 2:43 pm    Post subject: Importing and Exporting a User Catalog
Reply with quote

Hi
I am trying to export a user catalog from an LPAR and import it to another LPAR. However, I am getting an error saying that the catalog is invalid.
Export Code:
Code:

   //EXPORT1 EXEC PGM=IDCAMS,REGION=1024K                     
   //OUTDD1   DD  DSN=TSGP.CHARLIE.CATALOG.SYSTEM.VS2A001,   
   //         DISP=(NEW,CATLG,DELETE),                       
   //         SPACE=(CYL,(19,9)),DCB=(BLKSIZE=20480),         
   //         UNIT=SYSDA,VOL=SER=SYS020                       
   //SYSPRINT DD  SYSOUT=*                                   
   //SYSIN    DD  *                                           
      EXPORT 'CATALOG.SYSTEM.VS2A001' OUTFILE(OUTDD1) TEMPORARY
   

Import Code:
Code:

   //IMPORT  EXEC PGM=IDCAMS,REGION=1024K                           
   //SYSPRINT DD  SYSOUT=*                                           
   //INDD1   DD DSN=TSGP.CHARLIE.CATALOG.SYSTEM.VS2A001,DISP=SHR   
   //FILE1   DD  UNIT=SYSDA,VOL=SER=DW6711,DISP=SHR                 
   //SYSIN    DD  *                                                 
    IMPORT INFILE(INDD1) ODS(CATALOG.SYSTEM.VS2A002) -     
    ALIAS IEMPTY -                                                 
    OBJECTS( -                                                 
                 (CATALOG.SYSTEM.VS2A001  FILE(FILE1) -             
                   VOLUMES(S2A001) ) -                             
                  ) -                                                 
     CAT(CATALOG.MASTER.VS16CAT/PWUPDATE)
   


What should happen is that from LPAR1 the CATALOG.SYSTEM.VS2A001 and then restored to LPAR2 as a different catalog name CATALOG.SYSTEM.VS2A002. Then we will be doing a mergecat of the 2.

Thanks
Regards,
Back to top
View user's profile Send private message

crazyf1

New User


Joined: 05 May 2006
Posts: 27

PostPosted: Tue Aug 08, 2006 2:45 pm    Post subject: Re: Importing and Exporting a User Catalog
Reply with quote

Also, we tried defining CATALOG.SYSTEM.VS2A002 as well as let the sytem generate it before executing import but got an error also.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm
No new posts Data set is allocated to another job ... Seppe CLIST & REXX 2 Wed Aug 03, 2016 4:31 pm
No new posts user abend 4038 occurred in module CE... Musab Ahmed PL/I & Assembler 1 Wed Mar 30, 2016 10:49 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us