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: 8456
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 data conversion error maxsubrat PL/I & Assembler 4 Thu May 09, 2019 10:57 pm
This topic is locked: you cannot edit posts or make replies. PARAMETER 'F1' IS UNIDENTIFIED error ... Poha Eater DFSORT/ICETOOL 14 Fri Feb 01, 2019 2:39 pm
No new posts WSL-ADSL conversion in Webservice acc... eanupama DB2 0 Wed Jan 30, 2019 4:36 pm
No new posts SORT INNER JOIN [F1] OUT OF SEQ ERROR balaji81_k DFSORT/ICETOOL 8 Wed Jan 30, 2019 3:21 am
No new posts Error when compiling a REXX exec with... Ricardo Viegas CLIST & REXX 2 Tue Dec 18, 2018 5:44 am

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