MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cobol

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
mahesh31
Beginner


Joined: 08 Jul 2008
Posts: 5
Topics: 2

PostPosted: Wed Oct 01, 2008 8:31 am    Post subject: Cobol Reply with quote

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 Smile
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Thu Oct 02, 2008 5:25 pm    Post subject: Reply with quote

Quote:

(Actually it doesn't use any Cics but online only)


Can you clarify what you mean by this?
Back to top
View user's profile Send private message Send e-mail
mahesh31
Beginner


Joined: 08 Jul 2008
Posts: 5
Topics: 2

PostPosted: Sun Oct 05, 2008 7:05 am    Post subject: Reply with quote

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


Joined: 08 Oct 2004
Posts: 274
Topics: 52
Location: California

PostPosted: Sun Oct 05, 2008 10:29 am    Post subject: Reply with quote

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


Joined: 08 Jul 2008
Posts: 5
Topics: 2

PostPosted: Mon Oct 06, 2008 3:15 am    Post subject: Reply with quote

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


Joined: 12 Jan 2004
Posts: 53
Topics: 12

PostPosted: Mon Oct 06, 2008 5:43 am    Post subject: Reply with quote

Shudnt you be seeking your peers help for this task ??
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group