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
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How to print 10 to 1 if the input have only 10 digit number?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Define cobol?
What is a SSRANGE and NOSSRANGE?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the problem of ordered sequential files access?
Are you comfortable in cobol or jcl?
how do you reference the printer file formats from cobol programs
For rewrite, why is it mandatory that file needs to be opened?
Write down the divisions of cobol program?
Differentiate between structured cobol programming and object-oriented cobol programming.
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.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?