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: 329
Location: Inside the SPEW (Cincinnati OH 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

Active Member


Joined: 15 Aug 2015
Posts: 607
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 VB file copy COBOL program gives erro... COBOL Programming 3
No new posts AUTHORIZED database error in HALDB IMS DB/DC 2
No new posts Issue with CA Copycat-IGD17100I UNEXP... CA Products 5
No new posts How to move values from single dimens... COBOL Programming 1
No new posts Getting error S000 U0016 (Cn Internal... JCL & VSAM 4
Search our Forums:

Back to Top