View previous topic :: View next topic
|
Author |
Message |
moumita
New User
Joined: 21 Aug 2007 Posts: 4 Location: Philadelphia, PA 19018, USA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
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 |
|
|
moumita
New User
Joined: 21 Aug 2007 Posts: 4 Location: Philadelphia, PA 19018, USA
|
|
|
|
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 |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Hi moumita.
NO. Who in the big wide world thought up such a thing? |
|
Back to top |
|
|
moumita
New User
Joined: 21 Aug 2007 Posts: 4 Location: Philadelphia, PA 19018, USA
|
|
|
|
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 . |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Quote: |
receive an instant ouput |
you can run your batch job whenever it is required. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Forgot to say that you can message switch to the UCC7 (CA7) region to submit the job. |
|
Back to top |
|
|
Karthigaiselvan
New User
Joined: 11 Dec 2006 Posts: 35 Location: India
|
|
|
|
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 |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
hi Karthigaiselvan,
Did you read the original problem/question? |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
Indeed.......GSAM is not for an MPP but for a BMP. May be CICS could help you out. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
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 |
|
|
moumita
New User
Joined: 21 Aug 2007 Posts: 4 Location: Philadelphia, PA 19018, USA
|
|
|
|
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 |
|
|
|