IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

PLI array declaration


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Anusha Challa

New User


Joined: 06 May 2008
Posts: 14
Location: Hyderabad

PostPosted: Tue Feb 17, 2009 12:44 pm
Reply with quote

5 var1(1:2)
7 CAA02 CHAR(2) /* DIVISION */
7 CAA03 CHAR(3) /* MAJOR */
7 CAA04 CHAR(4) /* MINOR */
7 CAA05 CHAR(6) /* SUB-MINOR */


could any one explain me this declaration in PLI?
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Tue Feb 17, 2009 12:59 pm
Reply with quote

VAR1 is an array of size two.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Feb 17, 2009 3:05 pm
Reply with quote

Quote:
VAR1 is an array of size two.

where both array items contain instances of
7 CAA02 CHAR(2) /* DIVISION */
7 CAA03 CHAR(3) /* MAJOR */
7 CAA04 CHAR(4) /* MINOR */
7 CAA05 CHAR(6) /* SUB-MINOR */

Garry,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts COBOL Ascending and descending sort n... COBOL Programming 5
No new posts To find an array of words (sys-symbol... JCL & VSAM 9
No new posts How to move values from single dimens... COBOL Programming 1
No new posts array indexing PL/I & Assembler 4
No new posts COBOL batch program using large size ... COBOL Programming 3
Search our Forums:

Back to Top