Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How the programs takes the input file while executing?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: How the programs takes the input file while executing?
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: 1219
Location: Israel

PostPosted: Mon Jul 21, 2008 6:44 pm    Post subject:
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    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Mon Jul 21, 2008 7:13 pm    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Jul 21, 2008 8:43 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Jul 21, 2008 8:51 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Jul 23, 2008 12:21 pm    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Jul 30, 2008 10:22 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Jul 31, 2008 10:38 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 24 Tue Dec 06, 2016 8:04 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 8 Thu Dec 01, 2016 8:28 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us