View previous topic :: View next topic
|
Author |
Message |
naveen.m
New User
Joined: 02 Nov 2007 Posts: 9 Location: BENGALURU
|
|
|
|
Hi,
I need to sort a master file using key fields passed thru sysin card.
As it is a support wrk. I cant use cobol code for sort process.
Jst i need to run the job for this providing the Key Fields.
after job is run i want to know which key fileds were not present in master file and need to get those Key Field values to be written in another flat file.
Pls help me out |
|
Back to top |
|
|
sril.krishy
Active User
Joined: 30 Jul 2005 Posts: 183 Location: hyderabad
|
|
|
|
Naveen,
Could you plese elobarate your requirement.It will be good if you provide the sample input and expected output.
Thanks
Krishy |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Also:
Give the RECFM and LRECL of the input file.
Give the starting position, length and format of each relevant field.
What is the approximate number of "key fields" you need to pass through SYSIN? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Sounds like maybe a good candidate for putting the "key fields" in a second data file and creating output of matched/unmatched to meet the requirement. . . |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
INCLUDE might be a better choice depending on the number, length and format of the "key fields". |
|
Back to top |
|
|
naveen.m
New User
Joined: 02 Nov 2007 Posts: 9 Location: BENGALURU
|
|
|
|
dick scherrer wrote: |
Hello,
Sounds like maybe a good candidate for putting the "key fields" in a second data file and creating output of matched/unmatched to meet the requirement. . . |
hi,
Can i get the syntax for the same.
Thks in advance. |
|
Back to top |
|
|
naveen.m
New User
Joined: 02 Nov 2007 Posts: 9 Location: BENGALURU
|
|
|
|
What is the approximate number of "key fields" you need to pass through SYSIN?[/quote]
It depends on request.
Some thing around 150-200 keyfields. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
Can i get the syntax for the same. |
Not until you supply the rest of the information we asked for previously.
Quote: |
provide the sample input and expected output |
Quote: |
Give the RECFM and LRECL of the input file
Give the starting position, length and format of each relevant field.
|
|
|
Back to top |
|
|
|