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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts User Cancels the job PANDU1 DB2 1 Sat Mar 04, 2017 8:21 pm
No new posts ERM-Diagram of SysIBM-Catalog-Tables Auryn DB2 2 Fri Feb 17, 2017 6:22 pm


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