IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How the programs takes the input file while executing?


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kespra
Currently Banned

New User


Joined: 03 Jun 2008
Posts: 24
Location: bangalore

PostPosted: Mon Jul 21, 2008 6:25 pm
Reply with quote

How the programs takes the input file while executing?
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Mon Jul 21, 2008 6:44 pm
Reply with quote

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
View user's profile Send private message
kespra
Currently Banned

New User


Joined: 03 Jun 2008
Posts: 24
Location: bangalore

PostPosted: Mon Jul 21, 2008 6:50 pm
Reply with quote

In a scheduler the main job will take the input file from previous one how it is done
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Jul 21, 2008 6:59 pm
Reply with quote

Look at the jcl, we don't have access to it!
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jul 21, 2008 7:13 pm
Reply with quote

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
View user's profile Send private message
kespra
Currently Banned

New User


Joined: 03 Jun 2008
Posts: 24
Location: bangalore

PostPosted: Mon Jul 21, 2008 7:17 pm
Reply with quote

Yes,but how output of first taken as input of second can you tell the general logic in it
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 21, 2008 8:08 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Jul 21, 2008 8:43 pm
Reply with quote

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
View user's profile Send private message
kespra
Currently Banned

New User


Joined: 03 Jun 2008
Posts: 24
Location: bangalore

PostPosted: Mon Jul 21, 2008 8:49 pm
Reply with quote

where would be the data availabe for writing to the file
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon Jul 21, 2008 8:51 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Jul 23, 2008 12:21 pm
Reply with quote

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
View user's profile Send private message
kespra
Currently Banned

New User


Joined: 03 Jun 2008
Posts: 24
Location: bangalore

PostPosted: Wed Jul 30, 2008 8:29 pm
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Jul 30, 2008 8:41 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Jul 30, 2008 10:22 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jul 31, 2008 10:38 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top