View previous topic :: View next topic
|
Author |
Message |
sudhai
New User
Joined: 11 Apr 2006 Posts: 2
|
|
|
|
Hi All,
Is it possible to copy the files in VB format to FB format using ADRDSSU utility?
If i use the below JCL the data is copied into RECFM=U.
CA1 screenshot is pasted:(PS.FILE.NAME)
EXPDT = CATALOG ACCT= HEXZEROS
FLAG1 = 41 FLAG2 = C0 FLAG3 = 04 BATCHID= 00 =
FLAG4 = 08 FLAG5 = 00 FLAG6 = 00 HOOKID = FD = SMF 83
EDMID = WMC = 00000 WWID = - -
CDATE = 2009/276 CJOB = NBKLLPO3 CTIME = 0545 CPGM = ADRDSSU
LDATE = 2009/276 LJOB = NBKLLPO3 LTIME = 0545 LPGM = ADRDSSU
CSTEP = STEP010 CDDNAME= OUTDD01 CUNIT = D918 LUNIT = D918
OUTDATE= ZEROS OUTCODE= SLOT = 0000000 TRERRC = 00000
BTHDATE= 2008/298 VENDOR = BLANKS COUNT = 00010 TWERRC = 00000
DATECLN= ZEROS USECLN = 00000 CLNCNT = 000 TRERRI = 00000
VOLSEQ = 0001 ROBTY = VIBM ROBID = 001 TWERRI = 00000
1STVOL = NEXTVOL= PREVVOL= PRERRC = 00000
NUMDSNB= 00000 1STDSNB= 0000000 LSTDSNB= 0000000 PWERRC = 00000
LABEL = SL DEN = 38KC TRTCH = 36X2 PRERRI = 00000
RECFM = U LRECL = 000831 BLKSIZE= 065520 PWERRI = 00000
JCL used is below:
//STEP010 EXEC PGM=ADRDSSU,
// REGION=4M
//SYSPRINT DD SYSOUT=*
//OUTDD01 DD DSN=PS.FILE.NAME,
// DISP=(NEW,CATLG),
// UNIT=CARTA00,
// RECFM=FB,LRECL=831
//SYSIN DD *
DUMP OUTDD(OUTDD01) -
DATASET(INCLUDE(VSAM.FILE.NAME)) -
TOLERATE(ENQF) COMPRESS
/*
VSAM File screenshot: (VSAM.FILE.NAME)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Data Component Information: Current Allocation Options:
Device type: 3390 Load option: SPEED
Organization: KSDS EXT-ADDR Write check: NO
KSDS key length: 48 Buffer space: 26624
KSDS key location: 0 Erase on delete: NO
Average record size: 489 Imbedded index: NO
Maximum record size: 831 Replicated index: NO
Allocated Space: Unit Primary Secondary Reuse option: YES
Data: CYLINDERS 600 600 Share option: 2-3
Index: TRACKS 450 30 Spanned records: NO
Dataset Date Information: Key ranges present: NO
Creation date: 2009/04/13 AIX-unique keys:
Expiration date: AIX-upgrade:
Modification date: 2009/10/07 |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
NO, Dfdss is a backup / restore tool. It has no capability to change record formats, record lengths, or much else. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
sudhai wrote: |
Is it possible to copy the files in VB format to FB format using ADRDSSU utility? |
If ADRDSSU is not the only choice you may search the JCL and/or DFSORT/ICETOOL parts of the Forum for VB to FB conversion. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
The ADRDSSU DUMP command is exclusively used for making back ups of data sets -- there is a COPY command for copying files. However, as you've been told, ADRDSSU is not the best tool to change record formats. |
|
Back to top |
|
|
sudhai
New User
Joined: 11 Apr 2006 Posts: 2
|
|
|
|
Hi All,
Thank you for clearing the doubt..
using adrdssu the copy takes place very faster than compared to SORT/ICETOOL.
I will research some other options. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Good Luck -- keep us posted when you get lucky... |
|
Back to top |
|
|
|