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

Array indexing error


IBM Mainframe Forums -> HomeWorks & Requests
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
grasshopper

New User


Joined: 22 Jul 2021
Posts: 12
Location: germany

PostPosted: Fri Jul 23, 2021 5:39 am
Reply with quote

The following declaration applies to the TAB table:
DCL TAB (4,0:3,-4:-1) CHAR (01);
Which of the following statements will result in an indexing error?
- A = TAB (1,0,1)
- A = TAB (-1,0,1)
- A = TAB (0,0,0)
- A = TAB (3,3,3)
- A = TAB (3,3,-3)
- A = TAB (0,-1,-3)
- A = TAB (2,1,-2)
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Fri Jul 23, 2021 7:50 am
Reply with quote

Which one had an error when you tested your code?
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1255
Location: Bamberg, Germany

PostPosted: Fri Jul 23, 2021 10:32 am
Reply with quote

Same for this request. Put it in HomeWorks & Requests, please.
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 -> HomeWorks & Requests

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top