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
 

 

PLI array declaration

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: PLI array declaration
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    Post subject:
Reply with quote

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

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Feb 17, 2009 3:05 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts Unstring list of values into an array. Roshnii COBOL Programming 8 Mon Jun 27, 2016 6:25 pm
No new posts Declaration of varchar in cobol s.saranya srinivasan COBOL Programming 6 Fri Sep 25, 2015 11:43 am
No new posts COBOL Program to Read Array data raj4neo COBOL Programming 8 Sat Aug 15, 2015 12:28 am
No new posts Checking for High-Values in an array amitc23 COBOL Programming 10 Wed Aug 05, 2015 4:09 pm


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