what happens if parmparameter passes zero bytes to the program



what happens if parmparameter passes zero bytes to the program..

Answer / Nitin Gupta

If a parameter passes zero bytes to a COBOL program, it would result in an error due to the lack of data to process. The specific error message may vary depending on the implementation and compiler used.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)

7 Answers   Allianz, Wipro,


what are decleratives in cobol?

1 Answers   GGG, Satyam,


i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?

6 Answers  


Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all

5 Answers   TCS,


What are the different data types available in COBOL?

4 Answers  


how do you define single dimensional array and multidimensional array in your cobol?

1 Answers  


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1 Answers   IBM,


WT R TECHNICAL MAINFRAME QUESTION ASKED IIN ANJANASOFTEARE??

1 Answers  


If you were passing a table via linkage, which is preferable - a subscript or an index?

3 Answers   TCS,


how to know that the file has 300 records how to acess it?

0 Answers   Hewitt, TCS,


What compiler option would you use for dynamic linking?

2 Answers  


Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?

7 Answers  


Categories