In a COBOL II PERFORM statement, when is the conditional
tested, before or after the perform execution?

Answer Posted / shubha

here Before is default,but if After is mentioned then
condition will be checked after perform execution.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do u write test cases?

1630


Can you please let me know the centre name of INS certification in Kolkata.

1708


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 ......

10542


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

697


What are the different rules to perform a Search?

610






What is the default value(s) for an initialize? What keyword will allow for an override of the default?

647


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

704


Can we redefine the field of x(200) to less than 200?

808


What is the difference between comp and comp-3?

692


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?

2091


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

665


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

735


) what is the difference between AID and HANDLE AID?

1626


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5049


What is inspect in cobol ?

791