IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need to get the not sorted Key fields in a flat file


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
naveen.m

New User


Joined: 02 Nov 2007
Posts: 9
Location: BENGALURU

PostPosted: Thu Mar 27, 2008 1:14 pm
Reply with quote

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
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Thu Mar 27, 2008 3:54 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Thu Mar 27, 2008 9:19 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 27, 2008 9:58 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Thu Mar 27, 2008 10:14 pm
Reply with quote

INCLUDE might be a better choice depending on the number, length and format of the "key fields".
Back to top
View user's profile Send private message
naveen.m

New User


Joined: 02 Nov 2007
Posts: 9
Location: BENGALURU

PostPosted: Fri Mar 28, 2008 12:19 pm
Reply with quote

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
View user's profile Send private message
naveen.m

New User


Joined: 02 Nov 2007
Posts: 9
Location: BENGALURU

PostPosted: Fri Mar 28, 2008 12:25 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Fri Mar 28, 2008 8:46 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Binary File format getting change whi... All Other Mainframe Topics 5
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top