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

What are the ways you can generate a copybook?

2 Answers  


When search all is used in cobol program without sorted input data?

6 Answers   CGI, Principal Finance,


I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?

5 Answers  


in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?

2 Answers   HSBC,


what is the difference between PA & PF keys?

1 Answers   IBM,






which one is the best of com and com-3.using of real time ?

7 Answers   Cap Gemini,


i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2

9 Answers  


What does the IS NUMERIC clause establish ?

2 Answers  


wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?

2 Answers   EDS,


example for sub strings ? and refernce modifications whit output pls

0 Answers   College School Exams Tests, IBM,


The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it

3 Answers   ADP,


WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH

2 Answers   Cap Gemini,


Categories