COBOL User Groups COBOL COBOL Programming
Home | Search | COBOL Forums | Join COBUG | Change COBUG Account | Donations | Advertise with us | Contact us | About us | Site Map

 COBOL Jobs List:  Companies Using COBOL

 COBOL Report Generator:  RPV Reports - Print Graphics in COBOL Text Reports
 Mainframe Training:  Mainframe COBOL Training, Mainframe Training Courses
 COBOL Programming Tools:  Analyze COBOL Programs with Error Checker, Nested If Analysis, ADABAS File References, DB2 File References...

 COBOL Gifts:  Tshirts, Shirts, Mugs, Mousepads, Stickers, Bumper Stickers, Key Chains...


COBOL Jobs

 >  COBOL Job Listing
 >  COBOL Job Seekers
 >  Post COBOL Jobs
 >  Interview Questions
 >  COBOL Job Resources

COBOL Resources

 >  Blogs
 >  COBOL Books
 >  Computer Timeshare
 >  COBOL Examples
 >  Forums
 >  Knowledge Bases
 >  Magazines
 >  Manuals
 >  Portals
 >  Support
 >  COBOL Syntax/Commands
 >  Training
 >  COBOL Tutorials
 >  User Groups
 >  White Papers

COBOL Software

 >  Change Management
 >  COBOL Compilers
 >  Data Access
 >  Database
 >  Documentation
 >  COBOL Editors
 >  File Conversion
 >  GUI
 >  Legacy Migration
 >  Legacy Modernization
 >  Mainframe Security
 >  Report Generators
 >  Sort
 >  Terminal Emulators
 >  Test
 >  Tools
 >  Trans. Processing

COBOL Information

 >  Events
 >  News Articles
 >  Newsletters
 >  Product News
 >  COBOL Standards

COBOL Report Generator

Print graphics in COBOL reports with the reporting tool RPV Reports. Insert graphics (images, photos, logos, charts, etc.) in your plain text file COBOL reports to improve the quality of your reports. See how the report generator RPV Reports can be used to print graphics in your plain text COBOL reports.

COBOL and Mainframe Training

The Mainframe COBOL Training Boot Camp is an intensive 10-day training course that allows you to function as a COBOL programmer in an IBM Enterprise mainframe environment. A comprehensive offering of instructor led online and onsite mainframe training courses are provided including COBOL, CICS, DB2, Easytrieve, FileAid, ISPF, JCL, VSAM, IMS, JES2, REXX, SysPlex, SMP/E, Xpeditor and z/OS, giving you the foundation to function as a mainframe programmer.

COBOL Analysis Tools

Analyze, debug and understand your COBOL programs with our set of COBOL Analysis Tools.

Analyze your COBOL programs with our Error Checker tool which checks for logic errors that are not detected by COBOL compilers.

Analyze the IF ELSE structure of your COBOL programs with our Nested If Analysis tool.

Understand the logic of your COBOL programs from top to bottom and bottom to top with our Top Down Logic Progression and Bottom Up Logic Regression tool.

Generate an easy to understand database cross reference listing with our ADABAS and DB2 File References tools.

COBOL Email List Rental

You can reach a highly targeted, qualified, opt-in audience of COBOL users by renting the COBUG email list. Contact us today advertise@cobug.com for our email list rental rates.

Website Advertisement

Advertise on the COBUG website and reach tens of thousands of COBOL users. Increase your sales leads. Contact COBUG at advertise@cobug.com for advertising rates.

Support COBUG

COBOL Donation
 

COBOL Read Next and Read Into - Difference between COBOL Read Next and COBOL Read Into - COBOL Language Forum

 
COBOL Language [ return ]
From Message
gcalbp

 Email

8/06/2009
22:06:50
Subject: READ INTO


Message:
what is the main difference between read filea into fileb and read filea next record into fileb..thanks


jsa

8/06/2009
22:28:19
RE: READ INTO


Message:
Neither one is possible.

You do not read a file into a file.

You may read a file into a record.

READ (with no other clauses) is for flat files.
READ NEXT is for indexed files, such as ISAM.

READ NEXT says that even tho the file is indexed, you do not want to use the key to read a selected record, but rather you just want the next record in the file at the current record pointer (cursor) position.


gcalbp

8/06/2009
22:40:56
RE: READ INTO


Message:
DO U MEAN TO SAY THAT THE CURRENT RECORD POINTER POSITION IS THE LAST READ ERCORD OR THE NEXT RECORD FROM THE LAST ONE THAT YOU JUST HAVE READ...LETS SAY:
U HAVE NUMBER1 AND YOU SEARCH FOR NUMBER 1 IN THE LOOKUP FILE..THEN U FOUND THE NUMBER 1 IN THE LOOKUP..SO YOU WILL NOW LOOK AT NUMBER2 IN THE LOOKUP FILE..WHERE WILL I START SEARCHING..AT THE LAST RECORD READ (WHICH IS THE NUMBER1) OR THE NEXT RECORD IN THE LOOKUP FILE(AFTER THE NUMBER1)..
PLEASE HELP ME UNDERSTAND THIS..THANKS


jwl

8/07/2009
00:39:25
RE: READ INTO


Message:
Hi.
These are records with the following keys:

Number 0001
Number 0002
number 0003
.
.
.
.
.
Number 1999

Assume that the file is defined as TEST-FILE.

If the key is defined as TEST-KEY then you would move the key for the record you want to access to TEST-KEY and then read the file.

eg. MOVE "Number 0002" TO TEST-KEY.
READ TEST-FILE KEY IS TEST-KEY.
.
.
.

The record pointer (file location) is pointing to the record with the key 'Number 0002'.

If you used the read NEXT option you will get the record with key 'Number 0003' and if you used the read PREVIOUS option you will get the record with key 'Number 0001'.

Hope this helps you understand.

Regards

James


P 1  Next Page >>


 
[ Go to Top of Page ]
Mainframe Applications - SysperTec Banner Ad
Cool Auditing Tool - Cool Cobol Ad
COBOL Legacy Mainframe Migration - Transoft Ad
COBOL Sort, COBOL Tools - IRI, The CoSort Company Banner Ad
Micro Focus COBOL Download - Micro Focus Ad









COBOL Job Seekers

COBOL Jobs Looking for a COBOL job? Submit your resume here and have it viewed by employers and recruiters hiring for COBOL positions.

Employers & Recruiters

Post COBOL Jobs Do you need to fill a COBOL position? Post your COBOL jobs here and find the most qualified COBOL candidates to fill your COBOL position.

Call for Articles

COBOL Newsletters Articles are being sought for the COBUG newsletters.
Will you help us in our efforts to provide newsletters for the COBOL community at large? Contribute to the COBUG newsletters! Answer this call for COBOL and related legacy articles.

Local COBOL User Groups

COBOL User Group Check out the list of local COBOL user groups from around the world and join a user group near you.


Call for User Group Leaders!

COBOL User Groups Get Involved! We are looking for user group leaders to help organize and coordinate a local COBOL user group.

Join COBUG!

COBOL User Groups Become a part of COBUG and the global COBOL community today. Join Now ...


COBOL Forums

COBOL Forum Try our COBOL forums for help!
Let the COBUG members help you. Post your issues!



[Go to Top of Page]


COBOL (c) Information Computing Services. All Rights Reserved. COBOL