View previous topic :: View next topic
|
Author |
Message |
kespra Currently Banned New User
Joined: 03 Jun 2008 Posts: 24 Location: bangalore
|
|
|
|
How the programs takes the input file while executing? |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
To your question "can you read my mind?" the answer is NO.
Now that this is clear, can you rephrase your other question? |
|
Back to top |
|
|
kespra Currently Banned New User
Joined: 03 Jun 2008 Posts: 24 Location: bangalore
|
|
|
|
In a scheduler the main job will take the input file from previous one how it is done |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Look at the jcl, we don't have access to it! |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
kespra wrote: |
In a scheduler the main job will take the input file from previous one how it is done |
Output of first is input to second.. |
|
Back to top |
|
|
kespra Currently Banned New User
Joined: 03 Jun 2008 Posts: 24 Location: bangalore
|
|
|
|
Yes,but how output of first taken as input of second can you tell the general logic in it |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
The 'general logic' should be determined during design time.
Using Job Control Language, one can provide each step with the appropriate parameters (dd statements in the case) to identify which ds is to be associated with which dd name, in order to allocate the correct file for each step. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Yes,but how output of first taken as input of second can you tell the general logic in it |
The "first" part of the process "writes" data to a file (identified by some dd statement in the first step).
The "second" part of the process "reads" the data written by first step (identified by another dd statement in the second step).
The first step opens the file as output and writes to it. The second step opens the file as input and reads from it.
If you have some jcl you do not understand, post it along with your queston about it, and someone will be able to clarify. |
|
Back to top |
|
|
kespra Currently Banned New User
Joined: 03 Jun 2008 Posts: 24 Location: bangalore
|
|
|
|
where would be the data availabe for writing to the file |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
That would depend on the specifics of the code writing the data. No one here can tell you where some process on your system gets input.
If you post the jcl, we may be able to make some determination, but it is not guaranteed.
The biggest part of getting help from the forum is posting enough info for us to use to help you. You have posted very little to help us help you. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
I tried to keep away from this thread, but couldn't resist..
kespra, have you ever used a JCL with two steps based on each other ? Why would You ask this question ? What's the origin of this query ?.. |
|
Back to top |
|
|
kespra Currently Banned New User
Joined: 03 Jun 2008 Posts: 24 Location: bangalore
|
|
|
|
what Iam telling is raw data that is for example when you change an personal information how it will be fed to input file of program??Please understand and then give comments |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
kespra wrote: |
what Iam telling is raw data that is for example when you change an personal information how it will be fed to input file of program??Please understand and then give comments |
We don't know anything about your system ask your coworkers or your supervisor. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Please understand and then give comments |
We can only comment on what you provide. You have provided only the slightest hint at a question that we could help with.
From the little you have provided, Craig has the posted one of your choices (talk with someone in your organization).
Another choice would be to more clearly present some question here. We have answered what we believed to be your question.
Keep in mind that you know exactly what you are asking, but those who read your post may not.
I've removed several replies that were not really part of the topic. . . |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
kespra wrote: |
.. when you change an personal information how it will be fed to input file of program?? |
I've never used some "personal" information in my "Business- related input file", probably showing an example, what you have done & what do you want if you were not happy with the outcome of your act..might help.
Quote: |
Please understand and then give comments |
This needs a good explanation from your side..again, Dick's copyright statement again-
Quote: |
Keep in mind that you know exactly what you are asking, but those who read your post may not. |
& the only media to communicate is the written text by the thread starter.. |
|
Back to top |
|
|
|