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
 

 

ADRDSSU utility to copy and change the RECFM to FB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: ADRDSSU utility to copy and change the RECFM to FB
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: 8593
Location: Back in jolly old England

PostPosted: Wed Oct 07, 2009 3:45 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Oct 07, 2009 4:38 pm    Post subject: Re: ADRDSSU utility to copy and change the RECFM to FB
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: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Wed Oct 07, 2009 5:15 pm    Post subject:
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    Post subject: Reply to: ADRDSSU utility to copy and change the RECFM to FB
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

Senior Member


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

PostPosted: Thu Oct 08, 2009 11:14 am    Post subject:
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    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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm


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