IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CICS translator option to support INVOKE WEBSERVICES command


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
knsimha

New User


Joined: 08 Jul 2004
Posts: 5
Location: Noida

PostPosted: Fri Jun 03, 2011 7:36 pm
Reply with quote

Hi ,
I am using the following commands in my CICS program.

PUT CONTAINER

INVOKE WEBSERVICES

GET CONTAINER.


But I am getting problem while compiling as it is saying that 'INVOKE is invalid and can not be translated' in the CICS translation out put.

No issues with PUT and GET commands.

Quick reply will be help ful for me as I am running out of project deadline.

Thanks
Simha.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Jun 03, 2011 7:44 pm
Reply with quote

1. If it is that urgent, you need to plan to pay a consultant to help you. This is a forum. We don't do "urgent" -- we respond when and as we can. Your project deadlines have nothing to do with us.

2. The CICS Application Programming Reference indicates you have a basic syntax error:
Quote:
1.124 INVOKE WEBSERVICE

This command invokes a Web service from a CICS application. The command specifies the name of a WEBSERVICE resource, which contains information about the service to be invoked.
Your post references
Quote:
INVOKE WEBSERVICES
which is not the same at all.
Back to top
View user's profile Send private message
knsimha

New User


Joined: 08 Jul 2004
Posts: 5
Location: Noida

PostPosted: Mon Jun 06, 2011 10:51 am
Reply with quote

I am sending some more information above my issue.

EXEC CICS INVOKE WEBSERVICE(WS-WEBSERVICE-NAME)

CHANNEL(WS-CHANNEL)

URI(WS-ENDPOINT-URI)

OPERATION(WS-OPERATION)

RESP(WS-REQ-RESP) RESP2(WS-REQ-RESP2)

END-EXEC.





MESSAGE NUMBER SEVERITY LINE NUMBER MESSAGE
DFH7059I E 08112 INVOKE COMMAND IS NOT VALID AND IS NOT TRANSLATED.


Thanks.
Knsimha
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jun 06, 2011 11:12 am
Reply with quote

as usual You did to care to read Yourself the manuals here (*)
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHP4C00/CCONTENTS?SHELF=DFHASJ00&DN=SC34-6819-00&DT=20070612172134
and elucubrate a bit ...

if You had You would not have started this topic

I agree that the manual should be apared for unclear writing,
but nothing that could not be solved with a bit of logic!

the railroad diagram tells that the buzzword is
INVOKEWEBSERVICE for CICS/TS 3.2
INVOKE-SERVICE for CICS/TS 4.1
NO SPACES
(*) or You were sloppy in posting the syntax You used for the INVOKE shebang
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts APL support TSO/ISPF 1
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
Search our Forums:

Back to Top