Can we access the a[0] in the array ?

Answer Posted / i go crazy

The compilation should be done with the compiler option SSRANGE. If NOSSRANGE is used, then we can use A(0) without any issue.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules of the move verb?

997


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2153


Which division and paragraphs are mandatory for a COBOL program?

966


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3974


Write the code implementing the perform … varying.

843


what happens if parmparameter passes zero bytes to the program

1917


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2046


What is the difference between comp and comp-3?

935


how can i see junk values in dclgen or in hostvariable of comp ?

2788


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1003


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2381


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2259


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1382


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2227


What is the difference between next sentence and continue in cobol programing language?

993