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
 
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 Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 1 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm
No new posts how can i move s9(9) to s9(9) usage comp HARENDRA CHOUDHARY COBOL Programming 3 Mon Nov 06, 2017 12:10 am

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