Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

CICS :: RE: Protection Exception while move 0 to comp-5 variables

$
0
0
Author: sergeyken
Posted: Tue Oct 18, 2016 7:16 pm (GMT 5.5)

Kevin Vaz wrote:
I think the issue is because we are moving 0 to variable(0).. and arrays in mainframe start from 1. but then why does it not fail every time?


Arrays "in mainframe" are defined differently in different languages/tools. In most cases the low index can be specified explicitly, but default value is often 1 (except C-like languages)


Viewing all articles
Browse latest Browse all 9405

Trending Articles