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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Need cobol code to read a input file and write to o/p file
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

Moderator


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

PostPosted: Thu Feb 20, 2014 8:46 pm    Post subject:
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: 176
Location: Pune, Maharashtra, India

PostPosted: Fri Feb 21, 2014 10:43 am    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Fri Feb 21, 2014 5:55 pm    Post subject:
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

Site Director


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

PostPosted: Fri Feb 21, 2014 8:29 pm    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Sat Feb 22, 2014 4:00 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming 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 17 Tue Dec 06, 2016 8:04 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
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


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