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
 

 

Online transaction invoked from Batch job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
senthils

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 12:16 pm    Post subject: Online transaction invoked from Batch job
Reply with quote

Hi,

I have a requirement in which i have to trigger a online transaction from a batch. Could you let me know how this can be achieved?

Thanks in Advance.
Back to top
View user's profile Send private message

Garry Carroll

Active Member


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

PostPosted: Tue Jun 23, 2009 12:19 pm    Post subject:
Reply with quote

It would be helpful if you could enlighten us as to what type of online transaction you want to trigger. Today is not psychic day and I left my clairvoyance hat at home....

CICS? IMS ? other?

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

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 12:20 pm    Post subject:
Reply with quote

Its a CICS transaction.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


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

PostPosted: Tue Jun 23, 2009 12:44 pm    Post subject:
Reply with quote

from the CICS manuals @ http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfha6/dfha63d.htm , assuming you have console defined in CICS:

Code:
//IEFBR14 JOB (accounting information),CLASS=A,MSGCLASS=A,MSGLEVEL=1,...,...
//*
//*  Sample JOB to submit CICS commands using CONSNAME(INTERNAL)
//*
//IEFBR     EXEC PGM=IEFBR14
// F CICSRUN,'CEMT INQ TER'
// F CICSRUN,'CEMT INQ TAS'
// F CICSRUN,'CEMT SET TER(L77C) ACQ'
//


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

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 12:45 pm    Post subject:
Reply with quote

Thanks for the quick reply. I will try it and let you know.
Back to top
View user's profile Send private message
senthils

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 1:09 pm    Post subject:
Reply with quote

How we can confirm whether Console is defined in CICS?
Back to top
View user's profile Send private message
Garry Carroll

Active Member


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

PostPosted: Tue Jun 23, 2009 1:53 pm    Post subject:
Reply with quote

Logon to CICS and enter

Code:
CEDA V TYPETERM(CONSOLE) G(*)


You can then check to see if any console found is installed by issuing
Code:
CEMT I TER(console-id)



Alternatively, submit the IEFBR14 job to issue a CEMT INQUIRE. If it works, the console is defined.

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

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 2:13 pm    Post subject:
Reply with quote

In my case, there is no console found. I think i have to check with CICS admin regarding this.


Thanks for your time Garry.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


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

PostPosted: Tue Jun 23, 2009 2:16 pm    Post subject:
Reply with quote

Glad to be of help. I would expect that your CICS admin should have a console defined so that operations could issue commands.

Garry.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jun 23, 2009 5:11 pm    Post subject:
Reply with quote

One thing to be aware of -- the command being issued is not part of your job stream; for example you cannot execute two steps and then have the command issued. As soon as your job passes the JES converter/interpreter, the command is issued to the CICS region.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm


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