The Big Old Mainframe
The most comprehensive resource on the web for mainframe developers
Search
Pages
Home
DB2
JCL
CICS
MQ
Utilities
Interview Questions
Saturday, March 16, 2013
Creating Different Dimension Tables in COBOL
As we saw single dimension table in my blog
linked here
. There are many other ways to use COBOL table.
Another Way of Single Dimension TABLE:
COBOL Declaration:
01 A1-TABLE.
05 A2-TABLE OCCURS 100 TIMES
15 P1-NO PIC X(05).
15 P1-NAME PIC X(10).
15 P1-TEL NO.
25 LAND-LINE PIC 9(10).
25 MOBILE PIC 9(11).
This declarlation will work in COBOL as table described below:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment