 |
UV Software has a complete solution for conversion of mainframe
MVS or VSE JCL, COBOL, & DATA batch systems to Unix, Linux, or Windows/SFU.
Over 50 successful conversions including global corporations & government agencies.
Please see demo conversions & detailed explanations at:
www.uvsoftware.ca
You may send samples of your files for conversion & return by email.
You may download 1 free utility from:
www.uvsoftware.ca/ libuvhd.htm
'uvhd' displays data files with packed/binary fields in 'vertical hexadecimal',
and includes many interactive functions (browse, search, select, update, print, etc).
|
 |
COBOL Services |
Travancore Software Solutions
offers winning mainframe COBOL strategies for:
- SOA Enablement
- Mainframe COBOL Migration
- Mainframe COBOL Application Development
- Mainframe Application Support & Maintenance
- Enterprise Application Integration
Contact us at sales@travancore.net. |
 |
COBOL Report Generator |
|
Print graphical COBOL reports in Windows with
RPV Reports.
Insert graphics (images, photos, logos, charts, etc.) into your COBOL reports
to improve the print quality of your COBOL reports.
See how RPV Reports can be used to preview or print graphical COBOL reports in Windows. |
 |
COBOL Documentation |
|
Are your mainframe COBOL applications properly documented?
DCD III
is a comprehensive COBOL documentation and application
understanding tool that will allow you to reduce COBOL maintenance,
development, and mainframe migration costs.
Learn more about how you can document and understand your mainframe COBOL
applications with DCD III. |
 |
COBOL Migration |
|
Migrate your batch mainframe COBOL applications to open systems platforms,
such as Windows, AIX and Linux, with
OpenSCL.
OpenSCL is a mainframe emulator that runs on a PC or
server with Windows and Unix-based operating systems.
OpenSCL is your batch mainframe COBOL applications migration solution. |
 |
Advertise With COBUG |
|
Advertise on the COBOL User Groups
(COBUG) website and reach tens of thousands of COBOL users. Increase
your COBOL sales leads.
Contact COBUG at advertise@cobug.com for advertising rates.
|
 |
|
 |
|
|
| |
|
COBOL Language [
return
] |
|
From |
Message |
arien05
5/21/2008 07:51:09
|
Subject: How to parse variable length records
Message: I have to read a variable length file and create a report. I have to use the parsing technique (reference modification)
my input file looks like
123&jack&100&80&90
234&josephine&77&88&99
& is the delimiter.
the first field is the Student Number
Second field - Name
third field - mark1
fourth field - mark2
fifth field - mark3
i have to read these fields using parsing technique and create a report. can anyone help me please?
|
jkriel
5/21/2008 09:27:14
| RE: How to parse variable length records
Message: Hi
You can look up unstring and unstring the record into the different fields.
|
Tim Bonham
5/21/2008 20:37:11
| RE: How to parse variable length records
Message: I would do this by running the input file thru DFSORT, which has a parse option that will convert this into a file of fixed-length fields. Then run that file thru your COBOL program to generate the report.
|
jeyaraj
5/24/2008 10:10:32
| RE: How to parse variable length records
Message: In input-output section declare the file as line-sequential file like follows.
input-outputsection.
file-control.
select input-file assign to <file-name>
organization is line sequential.
In data division keep the record size as the maximum size of record available in your file like follows.
data division.
file section.
fd input-file
01 input-record pic x(120).
In working storage have an entry like following
working-storage section.
01 ws-record.
03 ws-field1 pic 9(03).
03 ws-field2 pic x(10).
and so on as per your need
Now open your file and read the record one by one. On successful read, using the following command.
unstring input-record delimited by '&' into
ws-field1,ws-field2,ws-fiel3......
Hope this will help you..
|
|
|
|
|
|
|
|
|
|
|
[ Go to Top of Page ]
|
|
 |
|