MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

E35 Routines?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Fri Jun 25, 2004 2:29 pm    Post subject: E35 Routines? Reply with quote

Hi,
I need a little bit of information about the user exit routines?Where can I get the info regrding these routines?Are these routines work for SYNC SORT ?

I need this info for the below purpose.

Once I use the sort to get the data from the files,I need to pass one of the field to a table and I need to get the corresponding value of that field?

Ex:

After sorting of the data as per my requirement I will get a flat file like below.

emp lname fname citycode
123 ABC KGH 12
124 ABQ KGH 13
125 ABW KGH 14
126 ABZ KGH 15

We have a table where the city name has been mentioned along with the above city code.
I have a cobol program which reads the city code and returns the
city name.
Can I use that program to return the city name with SORT as exit routine?

Once the sort step completes I need to get the o/p as below.

emp lname fname city
123 ABC KGH Newyork
124 ABC KGH Chicago
125 ABC KGH Dallas
126 ABC KGH Texas


Thanks in advance..
Bprasanna
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Jun 25, 2004 2:44 pm    Post subject: Reply with quote

Bprasanna,

you can code an exit to populate the city name in sort. Syncsort manuals are not available online. If you have a manual then you can check it out which has some examples.

But IMHO I think this can be solved withhout coding an exit. If your city code , city name combination is relatively small then we can do it in sort itself

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Fri Jun 25, 2004 3:14 pm    Post subject: Reply with quote

Hi Kolusu,
Thank you very much for your quick reply.We are having the sync sort ,,but I didn't find much info in QW of syncsort(In MF) .I am not sure of getting the Examples of sync sort.Actually I tried with CHANGE option and it worked fine.But the list is so big,I can't code each and every state code along with state name.

Do u have any simple example of these routines,,so that I can give a try ?

And one more thing ,are these routines differ for DFSORT and SYNCSORT?
Back to top
View user's profile Send private message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Fri Jun 25, 2004 3:32 pm    Post subject: Reply with quote

bprasanna,

Do you have easytrieve at your shop?

Cheers,
Coolman
________
Ford GT70


Last edited by coolman on Sat Feb 05, 2011 1:38 am; edited 1 time in total
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Fri Jun 25, 2004 3:43 pm    Post subject: Reply with quote

Even though we don't have SYNCSORT, my site's MVS/Quickref 6.0 has quite a bit of information about SYNCSORT. I would presume that, regardless of the product, a sort exit is a rather generic routine that would work for either product.
Back to top
View user's profile Send private message
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Wed Jun 30, 2004 12:32 pm    Post subject: Reply with quote

Hi All,
Can anybody provide me small piece of code for this problem and the mods statement ?
Back to top
View user's profile Send private message
haatvedt
Beginner


Joined: 14 Nov 2003
Posts: 66
Topics: 0
Location: St Cloud, Minnesota USA

PostPosted: Thu Jul 01, 2004 10:06 pm    Post subject: Reply with quote

Hi Bprasanna,

I think that the linkage / calling conventions for SyncSort and DFSORT are the same. I have take E15 or E35 sort exits and moved them between the sort products without incident.

That being said, there are plenty of examples in the IBM sort manuals which are available online. Mr. Green

chuck haatvedt
_________________
Chuck Haatvedt

email --> clastnameatcharterdotnet

(replace lastname, at, dot with appropriate
characters)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group