View previous topic :: View next topic |
Author |
Message |
bprasanna Beginner
Joined: 05 Sep 2003 Posts: 119 Topics: 33 Location: Hyderabad
|
Posted: Thu Aug 04, 2005 9:01 am Post subject: E15 exit routine |
|
|
Hi,
I am using an E15 exit routine in my sort step.There I need to call an assember routine(already coded,compiled ,linked and placed in the loadlib) to convert the date from one format to another.This date routine will take the P 5(packed and 5 length) data and it will convert the date into a readable format.
I am reading the SYRECORD in the rexx and trying to parse it to get the
5 P field in to a temp vaiable.Once I get the value( P 5) in the temp then I need to pass it to the assembler routine and I need to convert it into readable format.
Can any body give some light on this?
Thank you. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Aug 04, 2005 9:18 am Post subject: |
|
|
Quote: |
There I need to call an assember routine(already coded,compiled ,linked and placed in the loadlib) to convert the date from one format to another.This date routine will take the P 5(packed and 5 length) data and it will convert the date into a readable format.
|
If your intention is to convert the date to a readable format then you don't have to use an Exit to do the conversion as sort can handle that quite easily. You can use the DT1 format for converting the date.
Check this link which shows an example to convert the date
http://www.mvsforums.com/helpboards/viewtopic.php?t=1630&highlight=dt1
Quote: |
I am reading the SYRECORD in the rexx and trying to parse it to get the
5 P field in to a temp vaiable.Once I get the value( P 5) in the temp then I need to pass it to the assembler routine and I need to convert it into readable format.
|
hmm you are running a sort which has a rexx exit and now you want to call a assembler routine from rexx? wow ! As far as I know I don't think you can do that (2 layer exits)
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
bprasanna Beginner
Joined: 05 Sep 2003 Posts: 119 Topics: 33 Location: Hyderabad
|
Posted: Thu Aug 04, 2005 12:34 pm Post subject: |
|
|
Hi Kolusu,
Thank you for your reply.Now I cam to know that I can't use 2 layer exits.
Thank you
Bprasanna |
|
Back to top |
|
 |
|
|