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
 

 

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 How to get the remainder and quotient... vnktrrd DFSORT/ICETOOL 2 Mon Oct 31, 2016 10:59 am
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts DFSORT sorting only specific records akodakka DFSORT/ICETOOL 4 Thu Aug 04, 2016 11:24 am
This topic is locked: you cannot edit posts or make replies. How to run and see the result of DFH$... lind sh CICS 2 Wed Jul 27, 2016 7:04 pm


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