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
 

 

Read different input files to output file using key file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
ibmmainframesyntel

Active User


Joined: 26 Feb 2007
Posts: 126
Location: Chennai

PostPosted: Tue May 08, 2007 4:07 pm    Post subject: Read different input files to output file using key file
Reply with quote

Hi Frank.
I need a jcl for the requirements which is in the attachment.

Thank you
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue May 08, 2007 4:17 pm    Post subject:
Reply with quote

Please DO NOT post attachments as many visitors to the forum have restrictions on being able to either open or download attachments.

This affects your responses to a problem, and also does not help other people who see a solution but not the problem.

Quote:
I need a jcl for the requirements which is in the attachment.

Mmmmmmmmmmmmmmmmmm. Perhaps it is my interpretation of the wording of your request, but I somehow get the impression that you want Frank to do your work for you.

What you have already tried yourself, and what were the results of your tests.
Back to top
View user's profile Send private message
ibmmainframesyntel

Active User


Joined: 26 Feb 2007
Posts: 126
Location: Chennai

PostPosted: Tue May 08, 2007 4:21 pm    Post subject:
Reply with quote

If the position 40 contains 2 and the position 7 contains 'R',
It has to read
Partition input-2 - Reference file.
Like this total 5 partition comparision file and
5 partition reference file .
But only one key file.
The position 7 contains only 'C' or 'R'.
Position 40 cantains only 1 or 2 or 3 or 4 or 5.
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 May 08, 2007 9:05 pm    Post subject:
Reply with quote

"mainframe professional",

Your requirement is not clear to me and your requirements seem to be getting more and more elaborate. I've showed you how to use the IFTHEN group trick to solve other requirements for this same type of input. I think you need to start spending some time working this stuff out for yourself.

You can find all of the DFSORT books at:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html

For examples of the group trick, see the "Include or omit groups of records" and "Sort groups of records" Smart DFSORT Tricks in my "Tricks" paper:

http://www.ibm.com/servers/storage/support/software/sort/mvs/tricks/

And you can find many, many examples of how to use DFSORT/ICETOOL on this help board and in the "Tricks" paper.
Back to top
View user's profile Send private message
ibmmainframesyntel

Active User


Joined: 26 Feb 2007
Posts: 126
Location: Chennai

PostPosted: Wed May 09, 2007 5:32 pm    Post subject: Re: Read different input files to output file using key file
Reply with quote

Hi frank,

I tried ,but i am not getting the desired output.

Am sending the jcl , input and output files.
go through that jcl and let me know why am not getiing the exact result.


Thank you
Back to top
View user's profile Send private message
ibmmainframesyntel

Active User


Joined: 26 Feb 2007
Posts: 126
Location: Chennai

PostPosted: Wed May 09, 2007 5:34 pm    Post subject:
Reply with quote

let me know where exactly u are not understand the requirements.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed May 09, 2007 5:45 pm    Post subject:
Reply with quote

Please DO NOT post attachments as many visitors to the forum have restrictions on being able to either open or download attachments.

Please DO NOT post attachments as many visitors to the forum have restrictions on being able to either open or download attachments.

Please DO NOT post attachments as many visitors to the forum have restrictions on being able to either open or download attachments.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Thu May 10, 2007 12:09 am    Post subject:
Reply with quote

Hello,

Quote:
I tried ,but i am not getting the desired output.

Do keep in mind that some things take more than just a few minutes or hours to learn and/or figure out.
Back to top
View user's profile Send private message
ibmmainframesyntel

Active User


Joined: 26 Feb 2007
Posts: 126
Location: Chennai

PostPosted: Thu May 10, 2007 9:55 am    Post subject: Re: Read different input files to output file using key file
Reply with quote

To elobrate my requirements,
i need to mention that thr attachment.

here after i will post any requirements thr attach.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Thu May 10, 2007 7:10 pm    Post subject:
Reply with quote

Hello,

There is a bit of confusion here in addition to the actual sort question.

Quote:
To elobrate my requirements,
i need to mention that thr attachment.

here after i will post any requirements thr attach.


When you post info, copy/paste your info using the "Code" tab (at the top of the reply panel). This works well. Actually, it is better if things are not posted "thr attach".

Attach is best used when it is requested for some specific reason by someone who is trying to help.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu May 10, 2007 7:20 pm    Post subject:
Reply with quote

Quote:
When you post info, copy/paste your info using the "Code" tab (at the top of the reply panel). This works well. Actually, it is better if things are not posted "thr attach".

Exactly my point - I am one of those people that works in a relatively tight regulated web access environment.

I can not open or download attachments - so anyone who does post their problem using an attachment will not get any help from me because I will never know what the problem is.
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm


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