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

Issuing IMS-Commands from a program written in COBOL


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
SWP

New User


Joined: 03 Jun 2016
Posts: 1
Location: Germany

PostPosted: Fri Jun 03, 2016 4:31 pm
Reply with quote

Hi all,

as a test, I wrote a REXX that issues commands to IMS in Type2-synthax. In this REXX I use the SPOC API.
Is there any similar API which I could use in a COBOL program?

Thank you in adcance.

Kind Regards,
Steffen
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, 2016 9:21 pm
Reply with quote

The IMS System Administration web site implies it can be done (emphasis added by me):
Quote:
A single point of control (SPOC) program in CSL

A single point of control (SPOC) is a program that allows you to manage operations of all IMS™ systems within an IMSplex instead of using a master terminal. With a SPOC, you can issue commands to all members of an IMSplex at once.

A SPOC communicates with a single OM. Through SCI, OM then communicates with all of the other IMS control regions in the IMSplex.

A SPOC is optional in an IMSplex. The existing command interfaces for the WTOR, MTO, and E-MCS console are supported only for type-1 commands. If you want to use type-2 commands, you must use a SPOC. You can use a SPOC instead of the z/OS® master console, IMS master terminal, or user terminal for most command processing.

Types of SPOCs:

On a 3270 TSO terminal, a TSO SPOC is a system management application with an ISPF panel interface. You can start the TSO SPOC using the IMS Application Menu. The TSO SPOC also displays the OM audit trail, which has a log of messages issued by IMS and commands issued by operators.
On a workstation, the SPOC is an IMS system-management application—the IBM® Management Console for IMS and DB2® for z/OS (Management Console). The Management Console is an IMS system management application with a graphical user interface (GUI).
The Batch SPOC utility uses OM services to submit IMS operator commands to an IMSplex. The utility accepts any commands that are supported by the OM API. The Batch SPOC utility is invoked by using standard JCL statements.
The REXX SPOC API allows automation programs to use SPOC functions. You can use the REXX SPOC API to automate commands.
Vendor- or user-written SPOC: A program that uses or accesses the OM API to perform SPOC functions.
Research the IMS OM API - that should tell you what you need.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top