MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VLTRIM usage required

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Thu Mar 22, 2007 6:45 am    Post subject: VLTRIM usage required Reply with quote

Hai All,

I want to know what is the use of the syntax VLTRIM
Code:

 SORT FIELDS=COPY                                                       
 OUTFILE FNAMES=OUT,FTOV,VLTRIM=X'FF'   
                           


Can you please help me out ?
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Thu Mar 22, 2007 7:16 am    Post subject: Reply with quote

If you look in the sort application programers guide manual via the link above, section 3.13 - OUTFIL you will find the explanation of all OUTFIL parameters.
Not: OUTFILE is an alias for OUTFIL
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Thu Mar 22, 2007 10:43 am    Post subject: Reply with quote

VLTRIM=X'FF' removes trailing X'FF' characters from the end of each variable-length record. For example, let's say you have 6-byte FB input records as follows (in hex):

Code:

C1C2C3FFFFFF
C1FFFFFFFFFF
C2C3FFFFFFFF


FTOV,VLTRIM=X'FF' would convert the FB records to VB records with the RDW and data (in hex) as follows:

Code:

00030000C1C2C3
00010000C1
00020000C2C3


If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group