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

how to use dfsort to get my result ??


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

New User


Joined: 07 May 2006
Posts: 35

PostPosted: Mon Sep 07, 2009 8:05 pm
Reply with quote

Dear all,

I have a question as follows:

INPUT FILES:

FILEA: 010000A2

FILEB: 010000A3

I HOPE TO GET THE FOLLOWING RESULT(ASSUMED THAT A2 AND A3 ARE THE VALUE OF ONE VARIABLE WS-DATA RESPECTIVELY, IF WS-DATA = A2 AND WS=DATA = A3 FOR THE SAME NUMBER(0100000), IN THE OUTPUT FILE , THE VALUE OF WS-DATA SHOULD BE A1)
. THANKS AHEAD.
OUTPUT FILE

FILEC: 010000A1
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Sep 07, 2009 10:25 pm
Reply with quote

Quote:
A2 AND A3 ARE THE VALUE OF ONE VARIABLE WS-DATA RESPECTIVELY, IF WS-DATA = A2 AND WS=DATA = A3 FOR THE SAME NUMBER(0100000)
Quote:
THE VALUE OF WS-DATA SHOULD BE A1)


How A1 comes in picture??
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: Tue Sep 08, 2009 3:13 am
Reply with quote

xpower,

You need to do a better job of explaining the "rules" for what you want to do. Do you only have one record in FileA and one record in FileB? If not, show a better example with more records showing all of the relevant cases. Also, give the RECFM and LRECL of each input file, and the starting position, length and format of each relevant field.
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 Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts DFsort help with SUM() DFSORT/ICETOOL 12
No new posts first column truncated in search result IBM Tools 13
Search our Forums:

Back to Top