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

Can DFSORT be used to extract particular records from VSAM ?


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nankrish

New User


Joined: 11 Nov 2005
Posts: 26

PostPosted: Tue Jun 26, 2007 3:43 pm
Reply with quote

Hi,

I have a VSAM file. I would like to extarct the records which have a value 'TTT' in a particular field.

INPUT:
---------
ABCDTTTEFGHI
AVBASASDFWER
AFSDFWERWERR
ASDFTTTWERRE

OUTPUT:
---------

ABCDTTTEFGHI
ASDFTTTWERRE

Will the same sortcard i'm using currently for a sequentaail file can be used for the VSAM file?

Thanks,
Ramesh.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Tue Jun 26, 2007 3:55 pm
Reply with quote

Quote:
Will the same sortcard i'm using currently for a sequentaail file can be used for the VSAM file?

Yes
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Jun 26, 2007 7:41 pm
Reply with quote

Quote:
Will the same sortcard i'm using currently for a sequentaail file can be used for the VSAM file?


It depends. DFSORT can treat VSAM data sets as either variable-length or fixed-length. You have to tell DFSORT which to use depending on whether the VSAM records are all the same length (fixed) or not (variable). For more details, see:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA20/1.8.3.4?SHELF=&DT=20060615185603&CASE=
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top