Hi Gadi AMV"SH,
Here is sample JCL (assuming that you can use DFSMSdss)
//DSSCOPY EXEC PGM=ADRDSSU ,REGION=0M,PARM='TYPRUN=NORUN'
//SYSPRINT DD SYSOUT=*
//ODD      DD DISP=SHR,UNIT=SYSALLDA,VOL=SER=xxxxxx
//SYSIN    DD *
 COPY -
      DS( -
         INCL( -
SYS1.IODF00                                             -
             ) -
        ) -
      ODD(ODD) -
      ALLX -
      ALLD(*) -
      RENUNC( -
             (SYS1.IODF01 SYS1.IODF02 ) -
            ) -
      SHR -
      SPHERE -
OPT(4)
//STEP002 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
  VFY DS(SYS1.IODF02)
  VFY DS(SYS1.IODF02)


On 11/6/2024 04:42, גדי בן אבי wrote:
Hi,
I need to copy a VSAM dataset, an IODF in this case from an old system.
I have access to the volume where the dataset is allocated and to the catalog 
where the dataset is cataloged.

I can use LISTCAT to see information about the dataset in the catalog.

How can I catalog the datasets in my current catalog?

Once I do that I can move it to a new volume, where it belongs.

There is no easy option to IPL the old system.

The old system is z/OS v2.3,
The new system is z/OS v2.5.

Thanks

Gadi

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to