Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
Invoke Webservice Fails with DFHPI1009 error

Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message

New User

Joined: 30 Sep 2016
Posts: 5
Location: south africa

PostPosted: Thu Nov 24, 2016 5:57 pm    Post subject: Invoke Webservice Fails with DFHPI1009 error
Reply with quote

I am posting this message again as previously i have posted in jcl forum.

Question: How to define field which returns different values from the source system ?

source system (wsdl) layout

salary decimal 14
rate decimal 14
fees decimal 14

data returned output 1 in application

salary 1234567.123
rate 1234.123456
fees 1234567.123

data returned output 2 in application

salary 1234567.123
rate 1234.123
fees 1234567.123

Cobol layout generated from DFHWS2LS JCL.

ws-salary pic 9(15)v999.
ws-rate pic 9(15)v999.
ws-fees pic 9(15)v999.

Result: My invoke webservice is failing in test case 1 as ws-rate field is expected to be defined as pic 9(12)v9(6).

Note: Cobol Layout is generated from DFHWS2LS JCL.I tried with DEFAULT-FRACTION-DIGITS=6 but then the ws-salary and ws-fees is also generated with pic 9(12)v9(6) (I don't want to change the ws-salary and ws-fees).

Any help to change the para parameters so that my jcl will generate the copybook with correct ws-rate field.

Error: DFHPI1009 XML to data transformation failed. A conversion error (FRACTION_TOO_LONG) occurred
when converting field ws-rate for WEBSERVICE feeLookup.


// JAVADIR='java/J7.1_64',
Back to top
View user's profile Send private message

Robert Sample

Global Moderator

Joined: 06 Jun 2008
Posts: 8231
Location: Dubuque, Iowa, USA

PostPosted: Thu Nov 24, 2016 8:28 pm    Post subject:
Reply with quote

First, posting in multiple area does NOT get you better or faster responses -- the same people who respond on CICS also read the JCL topics.

Second, responses on this forum are voluntary so people respond when they have time and knowledge of the issue. It may be hours, or days, or weeks, or longer between the time a post is made and the time any responses come in. This is normal. Prompting for responses has the negative effect of making it LESS likely to get responses since anyone who has the knowledge and time will weigh responding against the harassment factor.

Third, you are asking questions about a topic that is NOT widely used, so the response base is limited. My recommendation would be to manually change the copy book to meet your needs rather than trying to tweak the DFHWS2LS parameters. If you insist you have to change the parameters, you may need to raise an issue with IBM (if your site has paid for the right to ask questions instead of merely raising problems; if your site has not paid to be able to ask questions of IBM, you may not be able to get an answer to your post -- not from IBM, not from this forum, not from ANY forum). Not all questions on a forum get answered.
Back to top
View user's profile Send private message

Global Moderator

Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Fri Nov 25, 2016 4:06 am    Post subject:
Reply with quote

If an XML decimal constraining facet of type fractionDigits is supplied
then the DEFAULT-FRACTION-DIGITS value is not used.

have you investigated that?
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1


Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS error U4038 while executing my PL... abdulrafi IMS DB/DC 2 Thu Feb 08, 2018 1:05 pm
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts DFHJSON-TRANSFRM container for WebSer... mbattu CICS 0 Fri Oct 20, 2017 2:18 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm

Back to Top
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us