How can we initiate a transaction from batch?
Answers were Sorted based on User's Feedback
Answer / maruthi
1. Your batch program should be a cobol-cics program witout
a map.
2. This program will initiate the transaction using the
START Command
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / kapil sharma
We can initiate a transaction from batch in one more way...
We can write the triggers in queue which is attached to a transaction and must be a trigger based queue. After writing the triggers into queue using batch program the transaction attached to that queue will be triggered.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / mohamed farook
sample code to initiate Cics module from jcl
//PS170 EXEC PGM=IPCPBTCH,COND=
(4,LT,PS150)
//IPCPCDS DD
DSN=SYS3.IPCPR1V0.COMMAND.CICPS1PR.DATASET,
//
DISP=SHR
//AUDIT DD
SYSOUT=*
//SYSOUT DD
SYSOUT=*
//SYSPRINT DD
SYSOUT=*
//SYSUDUMP DD
SYSOUT=Y
//SYSIN DD DSN=SFM00000.DPP.PROD.SYSIN
(FYSIN1),
//
DISP=SHR
SFM00000.DPP.PROD.SYSIN(FYSIN1) has
CICS CC ONLY=AO31
INIT KC AX73
Here AO31 is the region were you want the cics module to be
initiated
AX73 is transaction
Farook
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / lenin
However the programs having XCTL and LINK called by trans
id right?.
I dont think that we can call from batch. Can you please
anyone give the answer if can,as i am also eager to know
that.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / mainframe.rahulz
Transaction is a concept in which each program is identified
by a TRAN-ID in CICS.
I think we have a concept called XCTL and LINK where we can
call Transaction from our Batch.
Correct Me if i am Wrong.
| Is This Answer Correct ? | 2 Yes | 16 No |
Mention one alternative aspect of CICS?
Define RCT.
Why doesn?t CICS use the Cobol Open and Close statements ?
Highlight the difference between a symbolic map and physical map?
What is a cursor in CICS sql processing?
What is the meaning of the eibaid field?
Explain re-entrancy as applies to CICS.
What is the primary function of the Sign-on Table?
How vsam files are read in cics pgms?
What are the databases that CICS can access?
Transaction TRN1 has associated program PROG1 (pseudo- conversational). Under certain condition, PROG1 transfer control (XCTL) to PROG2, which should have his own pseudo- conversation with the terminal. When PROG2 send the map and execute a RETURN TRANSID('TRN1'), after receiving the control from the terminal, which program will be initiated?
what is an MDT in cics