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
 
How to view/copy/edit a dataset in a tape

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

New User


Joined: 09 Jun 2006
Posts: 1

PostPosted: Fri Jun 09, 2006 8:08 am    Post subject: How to view/copy/edit a dataset in a tape
Reply with quote

Hi,
I have a dataset which has unit as cartridge - UNIT=CART
I want to copy this to a test file and edit. I am not able to do it using 3.3 or p;h;g option.
Back to top
View user's profile Send private message

shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Fri Jun 09, 2006 12:14 pm    Post subject:
Reply with quote

Hi,

You can't View or Edit a TAPE dataset.

U need to copy to DASD first to view and edit.

U can use an Utility like ICEMAN, IEBGENER to copy and use in your test environment.

~Vamsi
Back to top
View user's profile Send private message
mailsri

New User


Joined: 04 Apr 2006
Posts: 13

PostPosted: Fri Jun 09, 2006 1:07 pm    Post subject: Re: How to view/copy/edit a dataset in a tape
Reply with quote

Hi

Here is the JCL that you need to code for copying the contents from the Tape to the DASD first..and then only you can do copy and editing stuffs.

000100 //IBMUSERQ JOB REGION=0M,NOTIFY=&SYSUID,CLASS=A
000200 //*
000300 //******* THIS JOB WILL RESTORE BACKED UP DATASETS ***
000400 //STEP1 EXEC PGM=ADRDSSU
000500 //TAPE DD UNIT=370,DSN=(DAVIN.BKP),
000510 // LABEL=(1,SL),VOL=SER=POLBKP,DISP=SHR
000600 //DISK DD UNIT=3390,VOL=SER=DAVP9A,DISP=SHR
000700 //SYSPRINT DD SYSOUT=*
000800 //SYSIN DD *
000900 RESTORE -
001000 DATASET
001010 ( INCLUDE (DAVIN*.**))-
001020 INDD(TAPE) OUTDD(DISK) -
001030 REPLACE-
001040 CATALOG
001050 /*
001060 //
Back to top
View user's profile Send private message
Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Fri Jun 09, 2006 3:06 pm    Post subject: Re: How to view/copy/edit a dataset in a tape
Reply with quote

The retrieval depends on how the dataset was taped. If it was taped using GVEXPORT, then you need to use GVRESTORE to bring the tape into DASD, since ADRDSSU or IEBGENER will merely create a dump of the GVEXPORTed dataset and would create trouble while editing.
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm

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