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

The z/OS HTTP/HTTPS protocol


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
R.Kaeferboeck

New User


Joined: 27 Jan 2017
Posts: 3
Location: Austria

PostPosted: Wed Nov 10, 2021 5:51 pm
Reply with quote

Hi,
currently we are sending http-Requests via DB2's Stored Procedures (HTTPPOST, e...) as shown here for example:
Code:

...
EXEC SQL
SELECT
  DB2XML.HTTPPOSTBLOB(
    :URI,
    :httpHeader_CLOB,
    :input_lob)
  INTO
    :output_lob
  FROM
    SYSIBM.SYSDUMMY1;

IF SQLCA.SQLCODE ^= 0 THEN ...


This has the advantage that it works for CICS and BATCH without changing the sourcecode but our DB/2 admins are not quite happy with this solution.

So we are searching for a something (a library?) that can be used in PL/I for BATCH and CICS because we don't want to develop two versions (one for CICS, one for BATCH) for the same task.
The z/OS HTTP/HTTPS protocol enabler looked good at first but then we realized that it is only suitable for Batch-programs.

Is there anything you could recommend?

Regards,
Reinhard
Back to top
View user's profile Send private message
lchui

New User


Joined: 10 Jun 2020
Posts: 4
Location: Canada

PostPosted: Fri Dec 03, 2021 2:07 am
Reply with quote

hi,

We don't know of any library that would work in both batch and CICS (with usual QR TCB) but scheduling a transaction using the z/OS http enabler on an open TCB (rather than the usual QR TCB) will work.

Hope this helps.
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Anyone using the HTTP server, web app... All Other Mainframe Topics 0
No new posts IBM HTTP web server - redirect http t... All Other Mainframe Topics 5
No new posts Execute Http from Z/OS through rexx CLIST & REXX 6
No new posts Peoplesoft to CICS Web Services with ... CICS 0
No new posts Server did not recognize the value of... CICS 4
Search our Forums:

Back to Top