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

Need cobol code to read a input file and write to o/p file


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Annie Mary George

New User


Joined: 23 Jan 2014
Posts: 6
Location: india

PostPosted: Thu Feb 20, 2014 8:23 pm
Reply with quote

Hi,
I need to write a cobol code to read a input file with a referencenumber,
and get data from 3 tables mh,mm,mb and write it into o/p file. I need a sample code of same logic.Please help
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Thu Feb 20, 2014 8:46 pm
Reply with quote

Annie,

This seems to be a more of a functional requirement where very few could assist you for the details you provided.

Since the question sounds as a question from a Beginner suggest you to join the forum
http://www.ibmmainframeforum.com/

Also please do invest time in reading the manuals ..Link at top of this page
Back to top
View user's profile Send private message
rohanthengal

Active User


Joined: 19 Mar 2009
Posts: 206
Location: Globe, India

PostPosted: Fri Feb 21, 2014 10:43 am
Reply with quote

its a fundamental thing to learn basic cobol file handling, handling SQLs from any IBM manual. First come up with your own peudo code and veirfy it.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 21, 2014 5:55 pm
Reply with quote

You need to realize that this is a HELP forum, not a WRITE-THE-CODE-FOR-YOU forum. If you ask for code the way you did, be prepared to pay for it (the usual rate is around 1000 US dollars per day or equivalent in other currency). If you don't want to pay for it, then do NOT ask for code.

If you come up with a logical approach, we will help you debug your logic. However, YOU must do the thinking and design the code as your requirements indicate.
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: Fri Feb 21, 2014 8:29 pm
Reply with quote

Hello,

While you know what you have and what you want to do, we DO Not know this.

To get help, you need to clearly explain at the detail level what you have & want.

Which file is read by a "reference"? How do the 3 tables relate to the reference number file?

If it cannot be clearly explained, it will be nearly impossible to implement. . .
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Sat Feb 22, 2014 4:00 am
Reply with quote

Annie, Welcome to the forum !!

As rightly mentioned by Dick please explain us or provide more clear requirement to what is expected from you, currently it is very general.

Also, if you could just need the code then on this forum if you search you could find many post as to how the code looks like, so please give a try.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts Error to read log with rexx CLIST & REXX 11
Search our Forums:

Back to Top