Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CICS MVS/ESA web services help
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Susan Talbot

New User


Joined: 17 Dec 2010
Posts: 36
Location: KY

PostPosted: Fri Jul 22, 2011 3:49 am    Post subject: CICS MVS/ESA web services help
Reply with quote

Can anyone tell me where to find a programming guide for doing web services on cics on the old mvs esa? I need to know the commands. I have found plenty of guides explaining the setup but I need to know how to write the programs to retrieve the info off the http request. Thanks
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Fri Jul 22, 2011 4:25 am    Post subject:
Reply with quote

I googled for this

Quote:
programming guide for doing web services on cics on the old mvs esa


results any use to you?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jul 22, 2011 4:44 am    Post subject:
Reply with quote

Hello,

At the top of the page is a link to "IBM Manuals" - among which are 3 sets of CICS manuals.

I see no reference to "web" anywhere in the CICS/ESA Language Reference or Programming Guide.

There is info in the CICS TS/OS390 Language Reference and Programming Guide.

From this my guess is that a web interface was not "standard" with cics/esa. The copyright from the manual is:
© Copyright International Business Machines Corporation 1982, 1992.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Jul 22, 2011 3:11 pm    Post subject:
Reply with quote

Maybe the next link can be usefull :

http://www.redbooks.ibm.com/abstracts/gg244026.html?Open
Back to top
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Fri Jul 22, 2011 4:34 pm    Post subject: Re: CICS MVS/ESA web services help
Reply with quote

Hi Susan,

you could find examples in the CICS Transaction Server Internet Guide or read Jim Schesvold's "CICS Web Support - Moving Transactions to the Web" or Craig Schneiderwent's "Writing a web-enabled CICS-COBOL program" at this web site.

Hope this helps
Back to top
View user's profile Send private message
Susan Talbot

New User


Joined: 17 Dec 2010
Posts: 36
Location: KY

PostPosted: Fri Jul 22, 2011 7:54 pm    Post subject:
Reply with quote

I tried using the command EXEC CICS WEB EXTRACT and the compiler got the error

DFH7059I E 00039 WEB COMMAND IS NOT VALID AND IS NOT TRANSLATED.

Really?
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Jul 22, 2011 8:01 pm    Post subject:
Reply with quote

Susan Talbot wrote:
I tried using the command EXEC CICS WEB EXTRACT and the compiler got the error

DFH7059I E 00039 WEB COMMAND IS NOT VALID AND IS NOT TRANSLATED.

Really?


With what version of CICS are you translating?

Garry.
Back to top
View user's profile Send private message
Susan Talbot

New User


Joined: 17 Dec 2010
Posts: 36
Location: KY

PostPosted: Fri Jul 22, 2011 8:03 pm    Post subject:
Reply with quote

CICS MVS/ESA V4R1
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Jul 22, 2011 8:18 pm    Post subject:
Reply with quote

Susan Talbot wrote:
CICS MVS/ESA V4R1


I'm not surprised that it doesn't support EXEC CICS WEB commands. That version of CICS is soooo.... far out of support....

You really need to get upgraded to CICSTS.

Garry.
Back to top
View user's profile Send private message
Susan Talbot

New User


Joined: 17 Dec 2010
Posts: 36
Location: KY

PostPosted: Fri Jul 22, 2011 8:30 pm    Post subject:
Reply with quote

sigh, i am aware of that. not an option at the moment. have to communicate with it. thanks anyway
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Fri Jul 22, 2011 8:38 pm    Post subject:
Reply with quote

Susan, you most likely are not going to be able to use web services with that old a release of CICS. Not only are the commands NOT part of the translator, but also the run-time support for them will be lacking. I suspect, but cannot confirm, that the answer to your question is either (1) upgrade to a version of CICS that does support web services, or (2) accept that web services cannot be used with the version of CICS you're talking about and redesign the system to not use web services. If the operating system is reasonably current, you might be able to use the HTTP server to get data to the mainframe, then work out a way to get the data to CICS -- but it all depends upon your system.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Jul 22, 2011 8:46 pm    Post subject: Reply to: CICS MVS/ESA web services help
Reply with quote

Susan,

Jumping from CICS/ESA 4.1 to (for example) CICS/TS 4.1 (as opposed to 3.2) is a large leap.

You'll need to spend a lot of time planning this migration.

The worst jump I've had to do was (recently) CICS/TS 1.3 to CICS/TS 4.1 and that took quite a bit of planning and it turned out that I was hit with a few "opportunities" as well as the installation/use of a 3rd-Party product to support CICS OS/VS COBOL (support was dropped beginning with CICS/TS 3.1), which incidentally, works well.

Try to convince management that they're playing with fire, because if something goes belly-up, IBM will gladly take their check and their good ol' sweet time. icon_wink.gif

Regards,

Bill
Back to top
View user's profile Send private message
Susan Talbot

New User


Joined: 17 Dec 2010
Posts: 36
Location: KY

PostPosted: Fri Jul 22, 2011 9:13 pm    Post subject:
Reply with quote

i am able to get data to a cics program from an http request. just trying to figure out the commands to get the query string off the request so I can do something with it
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Jul 22, 2011 11:57 pm    Post subject: Reply to: CICS MVS/ESA web services help
Reply with quote

Susan,

I found this link on Book Manager (CICS Web Interface Guide) for CICS/ESA 4.1 -

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHLTL01/CCONTENTS?SHELF=DFHLSH2E&DN=SC33-1892-01&DT=19991004152942

CICS/ESA 4.1 Bookshelf is -

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/DFHLSH2E

Regards,

Bill
Back to top
View user's profile Send private message
Susan Talbot

New User


Joined: 17 Dec 2010
Posts: 36
Location: KY

PostPosted: Sat Jul 23, 2011 12:10 am    Post subject:
Reply with quote

well, i figured it out. i have to LINK to DFHWBENV to get the QUERY_STRING
and then link to DFHWPBA to parse out the key/value pairs
Now, to try it out
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jul 23, 2011 12:13 am    Post subject: Reply to: CICS MVS/ESA web services help
Reply with quote

Good luck - this may help prevent boredom over the weekend icon_smile.gif

d
Back to top
View user's profile Send private message
Susan Talbot

New User


Joined: 17 Dec 2010
Posts: 36
Location: KY

PostPosted: Sat Jul 23, 2011 12:36 am    Post subject:
Reply with quote

will let you know
Back to top
View user's profile Send private message
Susan Talbot

New User


Joined: 17 Dec 2010
Posts: 36
Location: KY

PostPosted: Mon Aug 01, 2011 6:57 pm    Post subject:
Reply with quote

Got it working. You have to decide whether your application will be web-aware or not. I chose web-aware for my testing. This means you don't write a converter, just let the entire http request come into the commarea.
The you have to unstring it on CRLF x'0D25'
You take the form parms from the unstring and pass it into the parser DFHBPA. You have to do this one time for each form parm
To return something to the screen, you have to construct html, move it into the commarea with the length on the html. And there you go.
If you don't want a web-aware program, you can write a converter with DECODE and put the request into the commarea of your program.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Mon Aug 01, 2011 7:24 pm    Post subject: Reply to: CICS MVS/ESA web services help
Reply with quote

Thanks very much for posting the resolution. Might well save others a lot of work.
Back to top
View user's profile Send private message
Susan Talbot

New User


Joined: 17 Dec 2010
Posts: 36
Location: KY

PostPosted: Mon Aug 01, 2011 7:33 pm    Post subject:
Reply with quote

No problem at all
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
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us