View previous topic :: View next topic
|
Author |
Message |
rr_vjd
New User
Joined: 04 Jul 2006 Posts: 2 Location: india
|
|
|
|
want to move spaces in pos 853(8 byte) to VB file ..
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(853,8,CH,EQ,C' ')
/* |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Well lucky old you, off you go then
Unless of course there is a question that you would like to ask the forum.
Your task to resolve your problem, whatever that may be, is so much easier when you bother to inform those you wish to help you of at least some elementary details.
1) Which sort product are you using as the solution may vary from product to product. To identify which product you have please run a small sort and see if the messages are prefixed
ICEnnn for DFSORT
WERnnn for SYNCSORT
CA-nnn for CA-SORT.
If the messages are ICE messages, please post the line which has ICE201I as this will show the level of the product for DFSORT, and if you use SYNCSORT please show the level indicated in the sysout.
2) What is the RECFM and LRECL of the input dataset. |
|
Back to top |
|
|
rr_vjd
New User
Joined: 04 Jul 2006 Posts: 2 Location: india
|
|
|
|
Hi,
Details:
1.Using DFSORT
2.Input file details ,DCB=(RECFM=VB,LRECL=23472,BLKSIZE=27988)
Please send me the steps to move spaces in pos 853(8 byte) to VB file .. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
Please send me the steps to move spaces in pos 853(8 byte) to VB file .. |
It's not clear what you mean by this. Do you want to overlay spaces starting at position 853 in every one of your VB records? Or do you want to insert spaces starting at position 853 in every one of your VB records?
Are you ok with increasing the length of VB records that aren't that long to begin with?
Are you counting the RDW in positions 1-4 when you give the position as 853 or should it really be 857?
You need to do a better job of explaining what you want exactly.
Why do you show an INCLUDE statement? That will select records with blanks in those positions - it has nothing to do with moving spaces to those positions. |
|
Back to top |
|
|
|