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

Loading a vsam file to cics region by using any jcl utility


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ask
Warnings : 1

New User


Joined: 24 Jul 2006
Posts: 2

PostPosted: Mon Jul 24, 2006 12:55 pm
Reply with quote

hai,

anybody help me for MY doubt?
i want to load a vsam file to cics region by using any jcl utility or any cobol program is there? but i dont want that CEMT I FILE(FILENAME) CMD IN CICS REGION

Warning: Do not Shout
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Jul 24, 2006 1:23 pm
Reply with quote

If you are authorized to use CICS System Programming commands, you may try EXEC CICS CREATE FILE from within cobol.

If you want to run this COBOL program from batch, you have to use some kind of connection like EXCI.

O.
Back to top
View user's profile Send private message
ask
Warnings : 1

New User


Joined: 24 Jul 2006
Posts: 2

PostPosted: Mon Jul 24, 2006 3:02 pm
Reply with quote

what is that connection EXCI. i am not aware of that.. can u give some examples and explain me in brief

ASk
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Jul 24, 2006 3:05 pm
Reply with quote

EXCI is a method to run a CICS program outside of CICS address space (like batch or MVS). You may read more about it in the fine manual.

Also, you can use Google to find lots of examples.

O.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Jul 25, 2006 9:30 pm
Reply with quote

There is new software product from HostBridge Technology that allows you to write Batch Cobol programs that can access and communicate with any CICS resource;; files, tdq's, tsq's, programs, transactions.

Basically, you could write your own COBOL Batch program to update the file without closing the file in the CICS region OR write code to communicate with an existing online CICS transaction and feed updates to it.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Using API Gateway from CICS program CICS 0
Search our Forums:

Back to Top