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: 1338
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 IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts PKZIP error ZPFM121E and ZPCE009E JCL & VSAM 6
Search our Forums:

Back to Top