View previous topic :: View next topic |
Author |
Message |
mahesh31 Beginner
Joined: 08 Jul 2008 Posts: 5 Topics: 2
|
Posted: Wed Oct 01, 2008 8:31 am Post subject: Cobol |
|
|
Hi,
I need help regarding subroutine.
In my Batch program, am using two seqential files ( input & output). In my input file there are 3 filelds. Using these fields i have to call another program which is online program (Actually it doesn't use any Cics but online only). This online program will get the data from database using those 3 fileds and returns 100 fields.
i have to write these 100 fields into output file.
so can anyone helpme out for this as am new to mainframes.
sorry for writing a big story |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Thu Oct 02, 2008 5:25 pm Post subject: |
|
|
Quote: |
(Actually it doesn't use any Cics but online only)
|
Can you clarify what you mean by this? |
|
Back to top |
|
|
mahesh31 Beginner
Joined: 08 Jul 2008 Posts: 5 Topics: 2
|
Posted: Sun Oct 05, 2008 7:05 am Post subject: |
|
|
actally we are using the program for online queries. Means when ever any user put in request in our system, this program retrives the data from the database.
for this we will schedule a job which is using this program. means it has to provide the data immeadiatly on receiving the request. |
|
Back to top |
|
|
NASCAR9 Intermediate
Joined: 08 Oct 2004 Posts: 274 Topics: 52 Location: California
|
Posted: Sun Oct 05, 2008 10:29 am Post subject: |
|
|
An example of the data IN and OUT would be helpful.
Is the calling program a stored proceure? If not, Why? _________________ Thanks,
NASCAR9 |
|
Back to top |
|
|
mahesh31 Beginner
Joined: 08 Jul 2008 Posts: 5 Topics: 2
|
Posted: Mon Oct 06, 2008 3:15 am Post subject: |
|
|
for example input is emp id..
output should be complete details about that emp like location, address...etc..
calling program is just a batch program..all the prog logic will be in the called program |
|
Back to top |
|
|
Ram Beginner
Joined: 12 Jan 2004 Posts: 53 Topics: 12
|
Posted: Mon Oct 06, 2008 5:43 am Post subject: |
|
|
Shudnt you be seeking your peers help for this task ?? |
|
Back to top |
|
|
|
|