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

want to move spaces in pos 853(8 byte) to VB file ..


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

New User


Joined: 04 Jul 2006
Posts: 2
Location: india

PostPosted: Wed Nov 04, 2009 12:47 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Nov 04, 2009 12:53 pm
Reply with quote

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
View user's profile Send private message
rr_vjd

New User


Joined: 04 Jul 2006
Posts: 2
Location: india

PostPosted: Wed Nov 04, 2009 3:09 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Wed Nov 04, 2009 11:03 pm
Reply with quote

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
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 FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top