--First 2 character is segment id to idenfity the kind of record.
--Position of account number is fixed for every record. For the above example 7202009999 is an account number.
--Policy number will be there only in 13 type record and policy indicator also. For above eg Policy number is 7202A 121221 & Indicator is Y .
Requirements
1) Fetch the accout,policy number and customer mailing information only if Segement 13 policy indicator = "Y".
2) Skip the complete records for a particular account if indicator value in segment 13 is SPACES.
Output :
Single record with account, policy and mailing info.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Thu Jun 16, 2005 10:49 am Post subject:
What is the RECFM and LRECL of your input file? Please show exactly what you want the output record to look like.
Your points 1 and 2 are rather confusing. 1 seems to say that you only want accounts where the 13 segment has 'Y' in the indicator value. But 2 says to skip the record for accounts where the 13 segment has SPACES in the indicator value.
Seems like rule 1 includes rule 2 - since we're only interested in accounts with a 'Y', we're not interested in any other accounts including those with a SPACE. Or am I misinterpreting what you mean?
It would help if you showed a larger sample of input records and output records. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
Posted: Thu Jun 16, 2005 1:26 pm Post subject:
Rahull,
A tip that might help us both in future. Whenever you post a question seeking help, please post detailed information on what you're trying to accomplish. Do not make people guess what you mean. This will give you a much better chance of getting a good answer to your question.
Provide as much information as you can.
It only takes 5 mins for me to come up with a solution(provided I can solve it), but it takes hours trying to customize the solution to fit the newly appended requirements.
Without complete details you are wasting your time as well as other people's time who come here to help.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Thu Jun 16, 2005 2:45 pm Post subject:
Rahull,
Here's a DFSORT/ICETOOL job that does this a little more easily and efficiently using DFSORT's new IFTHEN function. You'll need z/OS DFSORT V1R5 PTF UQ95214 or DFSORT R14 PTF UQ95213 (Dec, 2004) in order to use DFSORT's new IFTHEN function. Only DFSORT has this function, so if you don't have DFSORT, you won't be able to use it. If you do have DFSORT, but you don't have the Dec, 2004 PTF, ask your System Programmer to install it (it's free). For complete details on all of the new DFSORT and ICETOOL functions available with the Dec, 2004 PTF, see:
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
Posted: Fri Jun 17, 2005 11:45 am Post subject:
Quote:
I am sorry for that. But I am afraid how that link is co-related to my dount ?
Rahull,
*Sigh* Your prior question was
Quote:
Please tell me system table or some load module which I can show to the client, which SYNCTOOL load is present.
And the answer to the question is in the link I provided
Type
TSO ISRDDN at your command prompt and press enter
It will bring up all your Current Data Set Allocations
Now type LOAD SYNCTOOL at your command prompt and press enter
This will bring something like this
Code:
Module SYNCTOOL was found to be already loaded. Note that
invocations of this program name may pick up another copy from
STEPLIB or a LIBDEF'ed data set or from a tasklib such as ISPLLIB.
Tab to a box and press enter to view the module in storage.
+-------------------------------+
| Job pack area resident |
| Loaded by program fetch |
| from -LNKLST- (Lib 79) |
| xxxxx.SYNCSORT.xxxx.xxx |
| LINK |
| Module address:00088718 |
| Module size: 0000D8E8 |
| Not loadable only |
| AMODE ANY |
| Authorized library |
+-------------------------------+
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