 |
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
COBUG website and reach tens of thousands of COBOL users. Increase
your COBOL sales leads.
Contact COBUG at advertise@cobug.com for advertising rates.
|
 |
|
 |
|
|
| |
|
Acucorp [
return
] |
|
From |
Message |
graveyard
7/02/2008 02:35:50
|
Subject: Cobol and Functions
Message: Hi,
I'm initialize in world of Cobol, and I would like some things about Cobol.
I have some experience in C, and I use frequent functions.
Cobol also have Functions?
Example in C:
int sum(int x, int y)
{
int z = x + y;
return z;
}
Is possible in Cobol?
Regards
//Graveyard
|
edwardw355
7/02/2008 15:40:13
| RE: Cobol and Functions
Message: Cobol has a set of prewritten "Intrinsic Functions".
See a manual (available online) for syntax. Or write separate mini programs and "CALL" them from your program. Use dynamic linkage.
CALL "MYFUNCTION" USING parm1 parm2 parm3 ...
The Intrinsic Functions (if they'll fit) are:
Part 7. Intrinsic functions
Intrinsic functions . . . . . . . . . . . . . . 414
Specifying a function . . . . . . . . . . . . . . . . 414
Function definitions . . . . . . . . . . . . . . . . 421
ACOS . . . . . . . . . . . . . . . . . . . . . . . . 425
ANNUITY . . . . . . . . . . . . . . . . . . . . . . 426
ASIN . . . . . . . . . . . . . . . . . . . . . . . . 427
ATAN . . . . . . . . . . . . . . . . . . . . . . . . 428
CHAR . . . . . . . . . . . . . . . . . . . . . . . . 429
COS . . . . . . . . . . . . . . . . . . . . . . . . . 430
CURRENT-DATE . . . . . . . . . . . . . . . . . . 431
DATE-OF-INTEGER . . . . . . . . . . . . . . . . 432
DATE-TO-YYYYMMDD . . . . . . . . . . . . . . 433
DATEVAL . . . . . . . . . . . . . . . . . . . . . . 434
DAY-OF-INTEGER . . . . . . . . . . . . . . . . . 436
DAY-TO-YYYYDDD . . . . . . . . . . . . . . . . 437
DISPLAY-OF . . . . . . . . . . . . . . . . . . . . 438
FACTORIAL . . . . . . . . . . . . . . . . . . . . 439
INTEGER . . . . . . . . . . . . . . . . . . . . . . 440
INTEGER-OF-DATE . . . . . . . . . . . . . . . . 441
INTEGER-OF-DAY . . . . . . . . . . . . . . . . . 442
INTEGER-PART . . . . . . . . . . . . . . . . . . 443
LENGTH . . . . . . . . . . . . . . . . . . . . . . 444
LOG . . . . . . . . . . . . . . . . . . . . . . . . . 445
LOG10 . . . . . . . . . . . . . . . . . . . . . . . . 446
LOWER-CASE . . . . . . . . . . . . . . . . . . . 447
MAX . . . . . . . . . . . . . . . . . . . . . . . . . 448
MEAN . . . . . . . . . . . . . . . . . . . . . . . . 449
MEDIAN . . . . . . . . . . . . . . . . . . . . . . 450
MIDRANGE . . . . . . . . . . . . . . . . . . . . 451
MIN . . . . . . . . . . . . . . . . . . . . . . . . . 452
MOD . . . . . . . . . . . . . . . . . . . . . . . . 453
NATIONAL-OF . . . . . . . . . . . . . . . . . . . 454
NUMVAL . . . . . . . . . . . . . . . . . . . . . . 455
NUMVAL-C . . . . . . . . . . . . . . . . . . . . 456
ORD . . . . . . . . . . . . . . . . . . . . . . . . . 458
ORD-MAX . . . . . . . . . . . . . . . . . . . . . 459
ORD-MIN . . . . . . . . . . . . . . . . . . . . . . 460
PRESENT-VALUE . . . . . . . . . . . . . . . . . 461
RANDOM . . . . . . . . . . . . . . . . . . . . . . 462
RANGE . . . . . . . . . . . . . . . . . . . . . . . 463
REM . . . . . . . . . . . . . . . . . . . . . . . . . 464
REVERSE . . . . . . . . . . . . . . . . . . . . . . 465
SIN . . . . . . . . . . . . . . . . . . . . . . . . . 466
SQRT . . . . . . . . . . . . . . . . . . . . . . . . 467
STANDARD-DEVIATION . . . . . . . . . . . . . 468
SUM . . . . . . . . . . . . . . . . . . . . . . . . . 469
TAN . . . . . . . . . . . . . . . . . . . . . . . . . 470
UNDATE . . . . . . . . . . . . . . . . . . . . . . 471
UPPER-CASE . . . . . . . . . . . . . . . . . . . . 472
VARIANCE . . . . . . . . . . . . . . . . . . . . . 473
WHEN-COMPILED . . . . . . . . . . . . . . . . 474
YEAR-TO-YYYY . . . . . . . . . . . . . . . . . . 475
YEARWINDOW . . . . . . . . . . . . . . . . . . 476
|
graveyard
7/03/2008 02:04:00
| RE: Cobol and Functions
Message: Hi,
Thanks for help, but I can't find the link of manual.
You can tell me what is the link?
Regards,
//Graveyard
|
donfnelson
7/04/2008 09:41:35
| RE: Cobol and Functions
Message: The 2002 COBOL standard includes user-defined functions.
Somewhat like you illustrated but more elegant. However, not
all implementations have them.
|
|
|
|
|
|
|
|
|
|
|
[ Go to Top of Page ]
|
|
 |
|