View previous topic :: View next topic
|
Author |
Message |
tspr52
New User
Joined: 12 Sep 2006 Posts: 31 Location: Madrid, Spain
|
|
|
|
Hello.
I am a new joiner in IMS. I need to execute an online transaction with a JCL, passing input data through a file. Of course, the result of the execution will be on a exit file.
Normally, in cics i will use the EXCI instruction, but i don't know how to do that in IMS.
I see BTS could be an option ( i am not sure at all, BTS can do that), but i need to evaluate another options.
Please, I will be very graceful if someone can help me.
Thanks in advance,
Jose Luis |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Hello Jose, Do you mean you are running a BMP program? This would be an IMS program that runs while the databases are online - opened - not stopped. If you are executing an MPP, then you would not use JCL - everything would be online and the databases would be up and started. You could not create a file online.
BTS is a testing tool that is used to test MPP programs. If you could tell us what the requirements are, we could help more. |
|
Back to top |
|
|
tspr52
New User
Joined: 12 Sep 2006 Posts: 31 Location: Madrid, Spain
|
|
|
|
Hello Sandy,
First let me give you my congratulations for your help.
I think will execute a MPP programs.
I need to execute on batch, because i cant online. That is, i need to use a 'transaction thrower', but through a JCL, not online.
Hope you could help me
Thanks
Jose Luis |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
If you are executing a batch, you will be running a BMP program - Batch Message Processing. Is this an existing process - already designed and written? You will definitely NOT be running an MPP - Message Processing Program.
A BMP uses JCL. The IMS databases will be defined in the PSB. Any other types of files will be defined in the JCL. Can you tell us more about what you need to do? |
|
Back to top |
|
|
tspr52
New User
Joined: 12 Sep 2006 Posts: 31 Location: Madrid, Spain
|
|
|
|
Hello Sandy,
Let me explain better....
I need to test a transaction.
But i need to do it using a JCL, not online.
Eventually data will be on a input file, and will need the result on a output file.
Is there some jcl than can do that? |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
And one of the answers is BTS like Sandy wrote. May be some reading could help. There's is sticky leading you to a lot of information about IMS. Follow the link and search for BTS. When you have problems running it feel free to ask. |
|
Back to top |
|
|
tspr52
New User
Joined: 12 Sep 2006 Posts: 31 Location: Madrid, Spain
|
|
|
|
Thank you very much,
I am following the way to BTS, because i think is the best way to test my application, but i need another option, like use a JCL to execute an online transaction. Is one of the projet's requeriment, used a 'transaction thrower' using a JCL.
I was having a look in the forum and the IBM manuals and dont found any program or command for do that. I told, i used EXCI instructions for execute an online transaction with a JCL.
Thanks again,
Jose Luis |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
All about BTS in this PDF (takes some time to download) |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
I am not sure if this is what was requested or not...
In IMS V10, you can use the batch SPOC to submit IMS operator commands.
You can use the QUEUE TRAN command to submit a transaction to IMS. The QUEUE TRAN command has a DATA( ) parameter; the data is enqueued as a single segment message. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Pedro, thankyou very much for the V10 info. However, I don't think too many posting here have it. |
|
Back to top |
|
|
|