View previous topic :: View next topic
|
Author |
Message |
b.prabhu
New User
Joined: 12 Mar 2007 Posts: 6 Location: Mumbai
|
|
|
|
This is my Scenario
STEP1 EXEC Program-1
Program-1 Calls Program-1A
Value-A gets Populated in Program-1A
STEP2 EXEC Program1
Program-1 Calls Program-1B
I need Value-A here in Prgram-1B
I don't want any Files to be used.
Is it Possible? If So how?
Thanks,
Prabhu
_________________
Regards,
Prabhu Balakrishnan |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
b.prabhu wrote: |
STEP1 EXEC Program-1
Program-1 Calls Program-1A
Value-A gets Populated in Program-1A
STEP2 EXEC Program1
Program-1 Calls Program-1B
I need Value-A here in Prgram-1B
I don't want any Files to be used.
Is it Possible? If So how?
|
Sure, display Value-A to the operator and ask him/her to enter it back in when the next step asks for it..... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I don't want any Files to be used. |
why not? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Why do you think your shop has lots of little boxes called DASD
Or even those much bigger boxes called tape libraries.
But I suppose that you could really impress your teacher by asking if "Batch Pipes" were a valid method of doing this. But that's a pay for solution. |
|
Back to top |
|
|
b.prabhu
New User
Joined: 12 Mar 2007 Posts: 6 Location: Mumbai
|
|
|
|
HOw |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Actually, I made a slight error above, batch pipes can be used to feed information from one program to another, if that is running in parallel rather than series. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Your scenario is quite confusing...
I suppose from Your wording that the entity "program-1" is the same "thing"... in both steps
so... get rid of the two steps ,
have "program-1" call/link/doanythingYoulike program-1a
get back the data You need
have "program-1" call/link/doanythingYoulike program-1b passing to it the info You got from the previous call
in two steps what You want cannot be done |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Is MQ considered a "file"? |
|
Back to top |
|
|
GlobalGyan
New User
Joined: 31 Jan 2006 Posts: 28
|
|
|
|
Looks to be like an interview questions... one of those from "how to get rid of a candidate for dummies". |
|
Back to top |
|
|
b.prabhu
New User
Joined: 12 Mar 2007 Posts: 6 Location: Mumbai
|
|
|
|
enrico-sorichetti wrote: |
Your scenario is quite confusing...
I suppose from Your wording that the entity "program-1" is the same "thing"... in both steps
so... get rid of the two steps ,
have "program-1" call/link/doanythingYoulike program-1a
get back the data You need
have "program-1" call/link/doanythingYoulike program-1b passing to it the info You got from the previous call
in two steps what You want cannot be done |
Thanks. But i want to do in two steps only. |
|
Back to top |
|
|
b.prabhu
New User
Joined: 12 Mar 2007 Posts: 6 Location: Mumbai
|
|
|
|
GlobalGyan wrote: |
Looks to be like an interview questions... one of those from "how to get rid of a candidate for dummies". |
Not an interview question dude.
Its a real time scenario. |
|
Back to top |
|
|
b.prabhu
New User
Joined: 12 Mar 2007 Posts: 6 Location: Mumbai
|
|
|
|
William Thompson wrote: |
Is MQ considered a "file"? |
I think i cannot use MQ as the amount of data i need to pass is quite large. |
|
Back to top |
|
|
GlobalGyan
New User
Joined: 31 Jan 2006 Posts: 28
|
|
|
|
Sorry
you want to store large amount of data without files..... Good question.. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
I still do not understand Your stubbornness
is there a business reason for it...
IMWLTK ( inquiring minds would like to know )
a sequential file/dataset is the simplest and only solution
more complex alternatives would be
- MQ messaging
- DB2 table
- persistent data space
otherwise ......
just tell us the answer You would like to receive and we' ll just cut and paste it from Your post into a few replies |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
b.prabhu wrote: |
Not an interview question dude.
Its a real time scenario. |
I find that very hard to believe.....
Could you pleas outline you requirement that precludes the use of a "file" to pass information between two steps, so much information that MQSeries won't have enough capacity to handle it.
Please detail beyond that "program-1" "step1" "program-1a" stuff you called your "scenario". Detail the actual requirement that requires the limitations you are specifying. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
And who placed those limitations ? |
|
Back to top |
|
|
b.prabhu
New User
Joined: 12 Mar 2007 Posts: 6 Location: Mumbai
|
|
|
|
I am not stubborn and i just want to know if there is any way to do the same.
I have convinced the business and now i am using a VSAM file.
Thanks for all your inputs.
Regards,
Prahbu Balakrishnan |
|
Back to top |
|
|
|