Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

types of table and classification of Evaluate statements

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
elayarajack

New User


Joined: 15 Feb 2004
Posts: 8

PostPosted: Thu Feb 19, 2004 2:20 pm    Post subject: types of table and classification of Evaluate statements
Reply with quote

hi,

can any one tell me the types of tables(may be of 2 types) and classifications or types of evaluate stmts. i need it for interveiw purpose.
Back to top
View user's profile Send private message

franclin

New User


Joined: 23 May 2003
Posts: 11
Location: Chennai, India

PostPosted: Thu Feb 19, 2004 3:09 pm    Post subject:
Reply with quote

Hi elayarajack,


Tables:

There are two types of Tables. viz.,
1. Fixed Length Tables,
2. Variable Length Tables.

1. Fixed Length Tables: Fixed Length tables are speified using the occurs clause. Because seven subscripts or indexes are allowed, six nested levels and one outermost level of the format 1 occurs clause are allowed.

2. Variable Length Tables: Variable-length table are specifed using the OCCURS DEPENDING ON clause. The length of the subject item is fied, it is only the number of repetitions of the subject item that is variable.


Evaluate:

1. General Evaluate (In which, we can also use THRU in WHEN condition)
2. Evaluate ALSO (In which, we can also use THRU in WHEN Condition)

syntax:

Evaluate Case-1{ ALSO Case-2}
WHEN Conditon1{ ALSO Condition2.}
...
{When Other Imperative-Stmt}
end-evaluate.

Case-1 & Case-2 May be in these forms.
1.Identifier
2.Literal
3.Expression
4.TRUE
5.FALSE


Condition1 or Condition-2:

ANY
condition
TRUE
FALSE
NOT Condition1 THRU Condition1
I think its enough to you
REGARDS,
SUMAN
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts Updating online Db2 table kishpra DB2 3 Fri Aug 12, 2016 2:44 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us