MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is it possible using ICETOOL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
somuk
Beginner


Joined: 04 Feb 2003
Posts: 113
Topics: 37

PostPosted: Fri May 30, 2008 8:40 am    Post subject: Is it possible using ICETOOL Reply with quote

Hi,
I'm looking for a solution using DFSORT to get a specific output from an input file. Please find the details below.

RECFM=FB
LRECL=40


(Please read Pos as Position)

Input
-----
Code:

(Pos-1, length-5)   (Pos-7,length-3)

1111A               AAA
1111A               CCC
2222A               AAA
2222A               BBB
1111A               BBB
3333A               FFF
2222A               DDD
3333A               EEE


Desired Output
----------------
Code:

(Pos-1, length-5)   (Pos-7,length-3)   (Pos 41,length-3)   (Pos 45,length-3)

1111A                    AAA                  BBB                 CCC      
2222A                    AAA                  BBB                 DDD
3333A                    EEE                  FFF


Please help.
_________________
Regds,
Somu
Back to top
View user's profile Send private message Yahoo Messenger
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Fri May 30, 2008 9:31 am    Post subject: Reply with quote

This seems to be what you want:
http://www.mvsforums.com/helpboards/viewtopic.php?p=45422#45422

You need to sort your file first.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group