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 editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am


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