What is a subscript ?

Answer Posted / ananta

Subcript : it is occurences of same type of records.

Ex-1.

01 arry.

02 a pic x(5) occures 5 times.
03 i pic 9.

ex-2.

01 rec-1.
02 rec1 pic x(5).
02 rec2 pic x(5).
02 rec3 pic x(5).
02 rec4 pic x(5).
02 rec5 pic x(5).


these 2 example shows that ex-2 can be writen in the form
of subcript .it make fast proccessing by usin g less I/o
sources.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the compute verb? How is it used?

662


What guidelines should be followed to write a structured cobol prgm?

673


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1773


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825






i want a program using by if, evaluate , string, unstring, perform, occurs?

4062


What are the different types of condition in cobol and write their forms.

660


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

897


Explain the configuration section of a cobol program with examples of syntax.

661


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

859


Explain how you can characterize tables in cobol?

639


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780


For rewrite, why is it mandatory that file needs to be opened?

623


Explain what you understand by passing by value.

703


Discuss about changing dataset name in proc.

764