I have searched this topic on this forum but didn't find anywhere.
Could anyone help me....
I have to copy all the records from a VB file(LRECL=779) to a FB file(LRECL=179).
I need to copy only first 179 positions from input file.
1,- CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R10 - 07:40 ON MON JUL
SORT FIELDS=COPY
OUTREC FIELDS=(1:5,179)
3 INVALID DATA SET ATTRIBUTES: SORTOUT RECFM - REASON CODE IS 08
0 VLSHRT NOT USED FOR SORT, MERGE, INCLUDE, OMIT OR SUM STATEMENT FIELDS
0 C5-K90014 C6-K90014 C7-BASE C8-K42136 E7-K44564
3 END OF DFSORT
Thanks now its working.
Can you please just explain where we need to use OUTFIL and where we need to use OUTREC... ?
Tell me meaning of VTOF.... And function of BUILD... if you know ...
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
Tell me meaning of VTOF.... And function of BUILD... if you know ...
Given that I've been developing DFSORT and ICETOOL for over 25 years, you could say that "I know".
VTOF converts VB input records to FB output records.
BUILD indicates the fields to be included in the output record.
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:
You are an excellent guy, helping people in such a humble way. I have seen so many replying here in the forum with a lots of attitude.
But you seem to be outstanding in the way reply.
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
sajjan jindal wrote:
Hey Frank,
You are an excellent guy, helping people in such a humble way. I have seen so many replying here in the forum with a lots of attitude.
But you seem to be outstanding in the way reply.
you are correct. Frank, who suports a product that is sold, shows unlimited patience for those who
never bother to ask a co-worker
never bother to look at a manual
never bother to look at other threads with the same requirement
never bother to take a couple of seconds and make their requirement understandable
never bother to realize that many who attempt to help are doing it for free and on their time
only consider their needs
are basically very childish and think that they should be treated with respect, that they do not show for others
for the most part should not be in this profession
yeah, I am probably one of those that who you think has an attitude.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
Hey Frank,
You are an excellent guy, helping people in such a humble way. I have seen so many replying here in the forum with a lots of attitude.
But you seem to be outstanding in the way reply.
Well, thanks for the nice words, but unfortunately I'm far from humble at times and my "attitude" often does show through. But I do try.
Error:
RECORD TYPE IS V - DATA STARTS IN POSITION 5
VLSHRT NOT USED FOR SORT, MERGE, INCLUDE, OMIT OR SUM STATEMENT FIELDS
JOBNAME: P9XCOPY , STEPNAME: S9XSORT
BLOCKSET TECHNIQUE IN CONTROL
BLOCKSET COPY TECHNIQUE SELECTED
VISIT www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AN
- CONTROL STATEMENTS FOR 5650-ZOS, Z/OS DFSORT V2R2 - 12:49 ON WED DE
OPTION COPY
OUTFIL FNAMES=FBOUT,VTOF,OUTREC=(5,1060)
END OF FBOUT FIELD BEYOND MAXIMUM RECORD LENGTH
C5-I37057 C6-I35397 C7-I35397 C8-I35397 E9-I35397 E7-I37057