Hi Kolusu,
I know we can do this using JOINKEYS,FORMAT FIELDS but here i need to check for extra condition as well.
Here as i have mentioned the rate should not be zero and there should be only 1 record for 1 group.
RESTART for SEQNUM was introduced in SyncSort for z/OS 1.2.1. You appear to be back-leveled. _________________ Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Tue Mar 13, 2007 10:38 am Post subject:
Quote:
Apart from this can you please guide me where would i get manual for JOINKEYS?
I couldnot understand RESTART.
Rajen,
I don't think your version of syncsort supports RESTART parameter.RESTART=(p,m) tells sort to start numbering the records from the start value which by default is 1. This will be helpful for numbering duplicate records.
As for documentation if your shop has a valid license then you request the manuals from www.syncsort.com
Hey Kolusu,
Thanks a lot for your reply. It worked for me.
I was tryin this field with different datatypes to under more about that and couldn't get it for packed fields.
So I was wondering Do we need to use P'0000' in place of C'0000'?
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Tue Mar 13, 2007 11:19 am Post subject:
rajen wrote:
Hey Kolusu,
Thanks a lot for your reply. It worked for me.
I was tryin this field with different datatypes to under more about that and couldn't get it for packed fields.
So I was wondering Do we need to use P'0000' in place of C'0000'?
Kolusu,
In my data I have NAME field in different position for both the input file.
In one input file (File-1) it is starting at position 13 and for second(File-2) it is starting at position 12.
I am really sorry for not making this clear. I noticed that just now while testing with actual data.
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Tue Mar 13, 2007 1:06 pm Post subject:
rajen,
Now you are asking to spoon feed. You have a sample job which you need to tailor to according to your needs. Trust me you will learn a lot from this approach.
Hi Kolusu,
Tried my hands on it but its not working.Steps I followed was --
1) sort file1 on 12th position -- SORT FIELDS=(12,4,CH,A)
2) sort file2 on 13th position -- SORT FIELDS=(13,4,CH,A)
3) Then i need to use SORTJNF1 and SORTJNF2 to REFORMAT the records.
I used below,
SORT FROM(IN1) USING CTL1 --> CTL1 point 12,4 sort card
SORT FROM(IN2) USING CTL2 --> CTL2 points 13,4 sort card
i am not getting where will i put SORTJNF1 and 2 sortcard.
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