IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ADRDSSU utility to copy and change the RECFM to FB


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sudhai

New User


Joined: 11 Apr 2006
Posts: 2

PostPosted: Wed Oct 07, 2009 3:39 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Oct 07, 2009 3:45 pm
Reply with quote

NO, Dfdss is a backup / restore tool. It has no capability to change record formats, record lengths, or much else.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Oct 07, 2009 4:38 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Oct 07, 2009 5:15 pm
Reply with quote

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
View user's profile Send private message
sudhai

New User


Joined: 11 Apr 2006
Posts: 2

PostPosted: Thu Oct 08, 2009 8:32 am
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Oct 08, 2009 11:14 am
Reply with quote

Good Luck -- keep us posted when you get lucky... icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts REASON 00D70014 in load utility DB2 6
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top