Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
VLTRIM option in DFSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
kcprem

New User


Joined: 30 Jun 2005
Posts: 18

PostPosted: Thu Aug 18, 2005 2:13 am    Post subject: VLTRIM option in DFSORT
Reply with quote

Hi,

I am doing a conversion of VB dataset to FB dataset and after that I am converting that FB dataset to new VB dataset.

i.e Datset1(VB)==VTOF=> Dataset2(FB)==FTOV=> Dataset3(VB)

Dataset1 has few trailing blanks in it.
While converting Datset2 to Dataset3 I am getting trailing blanks till end of the record.

If I used VLTRIM option all trailing blanks are removed. My problem is
in my original dataset I had few trailing blanks. But the new Dataset3 has no trailing blanks.

Can anyone help me how to get the new VB dataset with the original trailing blanks.
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


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

PostPosted: Thu Aug 18, 2005 2:45 am    Post subject:
Reply with quote

DFSORT can't distinguish between the trailing blanks you had in the original VB input data set and the trailing blanks DFSORT padded the short FB records with. A blank is a blank is a blank.

Without seeing your JCL, control statements and input records, it's hard to know what you're trying to do, but I'll venture a guess, that if you use VLFILL=C'*' for the OUTFIL VTOF statement and VLTRIM=C'*' for the OUTFIL FTOV statements, you'll get your trailing blanks back. Just make sure that the '*' or whatever character (e.g. =, $, or whatever) you use for VLFILL and VLTRIM does not occur at the end of any input record (obviously, you can't use blank for the character since that does occur at the end of records).
Back to top
View user's profile Send private message
kcprem

New User


Joined: 30 Jun 2005
Posts: 18

PostPosted: Thu Aug 18, 2005 4:04 am    Post subject: Re: VLTRIM option in DFSORT
Reply with quote

Hi Frank Yaeger,

Thanks a lot. Now it's working fine. My problem is solved.

Thanks a lot again.

Regards,
Prem
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


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

PostPosted: Thu Aug 18, 2005 4:31 am    Post subject:
Reply with quote

So I guessed right - good. Thanks for the feedback.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need urgent suggestion on DFSORT subratarec DFSORT/ICETOOL 6 Wed Mar 21, 2018 8:46 pm
No new posts VALIDATE option in BIND jcl Poha Eater DB2 2 Mon Feb 26, 2018 7:08 pm
No new posts Formatting using DFsort Guru Nandu DFSORT/ICETOOL 5 Thu Nov 30, 2017 7:33 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us