Web service generation for LE program

<<

John.Power@ostiasolutions.com

User avatar

Posts: 10

Joined: October 21st, 2008, 11:56 am

Post April 19th, 2010, 11:15 am

Re: Web service generation for LE program

The problem here is a bug in the run time when access() is used. The access() logic is sometimes used to determine if a file is available and executable. In zOS terms, this means that it must be found in the STEPLIB chain. The problem is that when we don't find a file on the PFS, we will always try to load it regardless of the file suffix. In this case, the file you look for is cobinter.xsl and as your module is called cobinter, we find it in the steplib and say all is well. This code needs to be tightened up to fix the issue but you can get around it by using a different name for the meta data and the program for now.
<<

donald_abbot

Posts: 12

Joined: February 12th, 2009, 10:53 am

Post April 19th, 2010, 2:23 pm

Re: Web service generation for LE program

It works! I used the advanced options to change the name at definition time.

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
- <LE_Driver_COBINTERRoot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <LE_Driver_COBINTERGroup>
<INITIAL_AMOUNT>+0005000</INITIAL_AMOUNT>
<I_RATE>+00345</I_RATE>
<YEARS>10</YEARS>
- <RESULT>
- <RESULT_TABLE>
<YEAR>1</YEAR>
<SIMPLE>5,172.50</SIMPLE>
<COMPOUND>5,172.50</COMPOUND>
</RESULT_TABLE>
- <RESULT_TABLE>
<YEAR>2</YEAR>
<SIMPLE>5,345.00</SIMPLE>
<COMPOUND>5,350.95</COMPOUND>
</RESULT_TABLE>
- <RESULT_TABLE>
<YEAR>3</YEAR>
<SIMPLE>5,517.50</SIMPLE>
<COMPOUND>5,535.55</COMPOUND>
</RESULT_TABLE>
- <RESULT_TABLE>
<YEAR>4</YEAR>
<SIMPLE>5,690.00</SIMPLE>
<COMPOUND>5,726.53</COMPOUND>
</RESULT_TABLE>
- <RESULT_TABLE>
<YEAR>5</YEAR>
<SIMPLE>5,862.50</SIMPLE>
<COMPOUND>5,924.10</COMPOUND>
</RESULT_TABLE>
- <RESULT_TABLE>
<YEAR>6</YEAR>
<SIMPLE>6,035.00</SIMPLE>
<COMPOUND>6,128.48</COMPOUND>
</RESULT_TABLE>
- <RESULT_TABLE>
<YEAR>7</YEAR>
<SIMPLE>6,207.50</SIMPLE>
<COMPOUND>6,339.91</COMPOUND>
</RESULT_TABLE>
- <RESULT_TABLE>
<YEAR>8</YEAR>
<SIMPLE>6,380.00</SIMPLE>
<COMPOUND>6,558.64</COMPOUND>
</RESULT_TABLE>
- <RESULT_TABLE>
<YEAR>9</YEAR>
<SIMPLE>6,552.50</SIMPLE>
<COMPOUND>6,784.91</COMPOUND>
</RESULT_TABLE>
- <RESULT_TABLE>
<YEAR>10</YEAR>
<SIMPLE>6,725.00</SIMPLE>
<COMPOUND>7,018.99</COMPOUND>
</RESULT_TABLE>

Thank you, John.
<<

John.Power@ostiasolutions.com

User avatar

Posts: 10

Joined: October 21st, 2008, 11:56 am

Post April 19th, 2010, 2:33 pm

Re: Web service generation for LE program

Thanks for the feedback. I have also emailed you a proposed fix for the problem but there seems to be some problem with your email address currently. Anyway, if you can confirm that what I sent resolves this problem when you get it, we can close this problem off.
Previous

Return to Miscellaneous

cron
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software