Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
File access in IMS Online Processing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
moumita

New User


Joined: 21 Aug 2007
Posts: 4
Location: Philadelphia, PA 19018, USA

PostPosted: Fri Aug 24, 2007 6:34 am    Post subject: File access in IMS Online Processing
Reply with quote

Hi,
I am trying to convert Batch to IMS DC for Online Transaction. Currently in Batch I am having many input files(Flat/VSAM)/BDAM) which I need to access in Online Processing also. Also I came to know that files cannot be accessed in Online transaction. Could anyone please tell me is there any other method to access these input files other than using any tools? I have also heard like we can relate the files to our IMS DBD and add the DBD in my Online PSB. Is this a correct method to access files in Online Transaction? If yes, can anyone explain this process in detail.

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

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 24, 2007 7:03 am    Post subject:
Reply with quote

Hello,

You might want to re-think why a multi-file batch process is being converted to run online. If the existing code is using flat. vsam, and bdam files it does not sound like a good candidate for online processing.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Aug 24, 2007 8:07 am    Post subject:
Reply with quote

Quote:
we can relate the files to our IMS DBD and add the DBD in my Online PSB

Are you thinking of converting your flat files to IMS Database?
Back to top
View user's profile Send private message
moumita

New User


Joined: 21 Aug 2007
Posts: 4
Location: Philadelphia, PA 19018, USA

PostPosted: Fri Aug 24, 2007 8:20 am    Post subject: Reply to: File access in IMS Online Processing
Reply with quote

I need to access all the Input files which were already present in my Batch Processing somehow in my IMS Online Processing. So is it possible to relate all the files in one DBD in IMS region and add that DBD along with my Online PSB? Please suggest me some method so that I can access the files in my programs.

Moumita.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Sat Aug 25, 2007 1:59 am    Post subject:
Reply with quote

Hi moumita.

NO. Who in the big wide world thought up such a thing? icon_lol.gif
Back to top
View user's profile Send private message
moumita

New User


Joined: 21 Aug 2007
Posts: 4
Location: Philadelphia, PA 19018, USA

PostPosted: Sat Aug 25, 2007 2:27 am    Post subject:
Reply with quote

In order to receive an instant ouput, this conversion of Batch to IMS Online was decided. Any approach will be fine for this realtime. If converting to IMS Online is not possible, then I should think of some other method which has the provision of handling files. In case if anyone have any suggestions, please let me know. Thanks for your answers icon_smile.gif .
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Sat Aug 25, 2007 2:30 am    Post subject:
Reply with quote

Do you have bmp? You may want to consider triggering your job via an online screen - much easier - much more efficient. Then you could "write" the results to an IMS HDAM database - fast, easy and simple. I did this with a settlement process I wrote - just in case you were wondering...............
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Aug 25, 2007 2:32 am    Post subject:
Reply with quote

Quote:
receive an instant ouput
you can run your batch job whenever it is required.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Sat Aug 25, 2007 2:33 am    Post subject:
Reply with quote

Forgot to say that you can message switch to the UCC7 (CA7) region to submit the job.
Back to top
View user's profile Send private message
Karthigaiselvan

New User


Joined: 11 Dec 2006
Posts: 35
Location: India

PostPosted: Wed Aug 29, 2007 10:52 pm    Post subject: Reply to: File access in IMS Online Processing
Reply with quote

I think you can use GSAM technique if your application is going to use BMP mode of processing. GSAM will not work out with MPP (Transaction oriented Screens). GSAM is a technique used to access (Read / Write) a flat file using IMS calls. So you need to have your PSB including DD names used for your files in the job. Hope this helps as a pointer, you can explore this more by referring to documents.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Aug 29, 2007 11:13 pm    Post subject:
Reply with quote

hi Karthigaiselvan,

Did you read the original problem/question?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Sun Sep 02, 2007 9:15 pm    Post subject:
Reply with quote

Indeed.......GSAM is not for an MPP but for a BMP. May be CICS could help you out.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Sun Sep 02, 2007 9:36 pm    Post subject:
Reply with quote

BTW......is your requirement to run in IMS DC (using terminals) or just in an environment capable of processing messages? A BMP is capable of processing messages.
Back to top
View user's profile Send private message
moumita

New User


Joined: 21 Aug 2007
Posts: 4
Location: Philadelphia, PA 19018, USA

PostPosted: Wed Sep 05, 2007 11:15 pm    Post subject: Reply to: File access in IMS Online Processing
Reply with quote

Hi Bitneuker,

My requirement is to change a batch program to online. Previously I was receiving a input file(having say 100 records) which will be processed by my Assembler program. My program will update some data in IMS DB and send out some output files also. This program reads some more Input files also for the processing. This was done in Batch.

Now I have to convert this processing to online. This is mainly because I want each and every record of my input file one by one to get updated in IMS DB and send out the files immediately. Now that files won't be present, I need to get the records put in a message queue from which I can get the records one by one. Now the problem is accessing other Input files. These are received from various sources. So I might need to put them in Database to access them in my program. I am currently exploring this possibility.

Thanks for all your responses.
Moumita
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 -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us