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
 
how to use dfsort to get my result ??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: how to use dfsort to get my result ??
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    Post subject:
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 Moderator


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

PostPosted: Tue Sep 08, 2009 3:13 am    Post subject:
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    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 Formatting using DFsort Guru Nandu DFSORT/ICETOOL 5 Thu Nov 30, 2017 7:33 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm

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