Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: want to move spaces in pos 853(8 byte) to VB file ..
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: 8593
Location: Back in jolly old England

PostPosted: Wed Nov 04, 2009 12:53 pm    Post subject:
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    Post subject: Reply to: want to move spaces in pos 853(8 byte) to VB file
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 Moderator


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

PostPosted: Wed Nov 04, 2009 11:03 pm    Post subject:
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    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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us