i have mainprogram and subgram...if i compile mainprogram
without stop run..what will u get in compilation time?

Answers were Sorted based on User's Feedback



i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in co..

Answer / krishna chaitanya

WE will get a Abend su4038

Is This Answer Correct ?    4 Yes 2 No

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in co..

Answer / sri

a. syntax error

b. infinite loop

c. none

Is This Answer Correct ?    2 Yes 3 No

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in co..

Answer / manoj

Job will neither abend nor go in infinite loop. It will give unpredicted results as it will executes all the codes line by line till the end.

Is This Answer Correct ?    0 Yes 2 No

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in co..

Answer / kingmanish

infinite loop.

Is This Answer Correct ?    0 Yes 3 No

i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in co..

Answer / pramod reddy

The pgm will take max. time to compile..
it will get S322 abend...

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More COBOL Interview Questions

if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?

1 Answers   Patni,


how do you reference the variable block file formats from cobol programs

0 Answers  


How do you reference the following file formats from cobol programs?

0 Answers  


) How do u handle errors in BMS macro

0 Answers   IBM,


is it possible to rename 01 level?

4 Answers  






how to crack cts interview apps? NOVEMBER 21 2010

2 Answers   CTS,


I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division

1 Answers  


Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?

3 Answers  


What is sqlca and why is it needed in any cobol-db2 program?

1 Answers  


Determine the total no of bytes in the following. 01 rec1. 02 a pic x(6) 02 b redefines a. 03 c occus 6 times pic 9. 02 d occurs 6 times pic 9. 03 e pic x(5) 03 f pic 999.

12 Answers  


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

0 Answers  


How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.

7 Answers   Financial Services,


Categories