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
 

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

 
COBOL Language [ return ]
From Message
gcalbp

 Email

8/07/2009
02:01:31
Subject: RE: READ INTO


Message:
thanks.. i did understand now..
i was so confused abt it since i got dis error:
DC3302I ACTION ERROR on lbp.rm.online.rmcls.vsam
DC3308I ** DUPLICATE RECORD X'F0F0F5F1F0F0F0F0F0F0F0F0.............
actually my program reads num1(with corresponding amts in an array) from filea and searches from fileb the record num1(w/c may have different corresponding amts since it is in array form) and writes it into an output record (which will actually combine the diffrent amts in one record if it has the same name( which happens to be num1)..the output i have write now is that it prints in separate records eventhough i have sane name(num1)..hope u can help me wid dis..thanks a million



atawwaab

4/05/2011
12:39:30
RE: RE: READ INTO


Message:
why dont you START the file at the desired location then READ NEXT i.e.;
Num00001
Num00002
Num00003
.
.
.
.
.
Num 1999

Assume that the file is defined as TEST-FILE.

If the key is defined as TEST-KEY-TRY then you would move the 'value that you want to the key for the record you want to access. Then read for the file.

eg.

MOVE "Num00002" TO TEST-KEY-TRY.
START TEST-FILE KEY IS = TEST-KEY-TRY
INVALID KEY DISPLAY "SORRY ERROR IN KEY VALUE"
END-START.

READ LOOK-UP-FILE NEXT-RECORD
AND END SET EOF TO TRUE
END-READ.



atawwaab

4/05/2011
12:41:59
RE: RE: READ INTO


Message:
NEED TO MAKE A CORRECTION
why dont you START the file at the desired location then READ NEXT i.e.;
Num00001
Num00002
Num00003
.
.
.
.
.
Num 1999

Assume that the file is defined as TEST-FILE.

If the key is defined as TEST-KEY-TRY then you would move the 'value that you want to the key for the record you want to access. Then read for the file.

eg.

MOVE "Num00002" TO TEST-KEY-TRY.
START TEST-FILE KEY IS = TEST-KEY-TRY
INVALID KEY DISPLAY "SORRY ERROR IN KEY VALUE"
END-START.

READ LOOK-UP-FILE NEXT-RECORD
AT END SET EOF TO TRUE
END-READ.




<<Previous Page   P 2  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