what is the difference between implicit and explicit scope terminator with example? 

Answer Posted / avijit bardhan

Implicit scope terminator is period which is used at the end of statement to terminate the scope of previous statements.




Explicit terminators are like END-PERFORM, END-READ, END-EVALUATE etc.

Is This Answer Correct ?    22 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by psb and acb?

674


What kind of error is trapped by on size error option?

749


What are different data types in cobol?

700


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

1963


How you can characterize tables in cobol?

727






In COBOL programming, what is PERFORM? What is VARYING?

676


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

685


Explain how to differentiate call by context by comparing it to other calls?

693


What is inspect in cobol ?

808


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.

1123


What is a scope terminator give example?

661


What is the compute verb? How is it used?

673


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

940


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

689


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10669