Interesting.  We have MacKinney Batch to CICS to do this.  But your way seems 
just fine as long as you don't care for a response of some sort (bad transID or 
whatever).  Of course I get the following errors when I try:
IEF196I <MVS.MODIFY.STC.CICSDEV1.CICSDEV1>                         
+DFHAC2015  CICSDEV1 Console INTERNAL has not been defined to CICS.
Input is ignored.                                                  

But I think that's just a matter of some security and configuration changes.  
(This LPAR is in WARN mode, which is why it performed the modify anyway.)
-- 

Frank Swarbrick
Applications Architect - Mainframe Applications Development
FirstBank Data Corporation
Lakewood, CO  USA
P: 303-235-1403
F: 303-235-2075


On 8/7/2009 at 3:40 AM, in message
<[email protected]>, Jim McAlpine
<[email protected]> wrote:
> On Fri, Aug 7, 2009 at 7:58 AM, Gangar, Parin (MLITS)
> <[email protected]>wrote:
> 
>> Hi,
>>
>> How to trigger a cics transaction from batch job?
>>
>> I googled this, and I got
>> http://cicswiki.org/cicswiki1/index.php?title=How_do_I_interact_with_a_t 
>> ransaction_from_a_batch_program%3F where various options are mentioned,
>> which unfortunately my CICS installation does not allow.
>>
>> Anyone got any ideas where I can submit CECI START TRAN(xxxx) from batch
>> ?
>>
>> Thanks,
>> Parin
>>
>>
>> Try this  -
> 
> //IEFPROC EXEC PGM=IEBEDIT
> //SYSPRINT DD  SYSOUT=*
> //SYSUT1   DD  DDNAME=IEFRDER
> //SYSUT2   DD  SYSOUT=(A,INTRDR),DCB=BLKSIZE=80
> //SYSIN    DD  DUMMY
> //IEFRDER  DD  DATA,DLM=@@
> /*$VS,'F cicsname,xxxx'
> @@
> Jim McAlpine
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html

>>> 

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above.  If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited.  If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication.  Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to