What is the meaning of 'Eject' verb in cobol?

Answers were Sorted based on User's Feedback



What is the meaning of 'Eject' verb in cobol? ..

Answer / pratap

EJECT Statement

Description
The EJECT statement specifies that the next source
statement is to be printed at the top of the next page.

The EJECT statement must be the only statement on the line.

You may write it in either Area A or Area B, and you may
terminate it with a separator period.

The EJECT statement has no effect on the compilation of the
source program itself.

Example:

->->--EJECT--*-----*-------------------------------------><-
*- . -*




------------------------------------------------------------
--------------------

Is This Answer Correct ?    38 Yes 2 No

What is the meaning of 'Eject' verb in cobol? ..

Answer / guest

eject verb can be used any division in cobol program. it is
ued for page break..

Is This Answer Correct ?    34 Yes 4 No

Post New Answer

More COBOL Interview Questions

if someone is using my file,how can i find which user id is using?

4 Answers  


How do you code Cobol to access a parameter that has been defined in JCL?

3 Answers  


Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I want to read wither i/p file-2 or i/p file-3.Now, depending on certain business logic applied to the record read from either file-2 or file-3, I decide to write them to either output file-2 or output file-2. Question: How many job steps are necessary to implement a solution for the above.

2 Answers   TCS,


In an array processing what is the thing that can be done by using subscripts but not by using index

4 Answers   JPMorgan Chase,


I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?

3 Answers   HCL, IBM,






how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas

3 Answers   IBM,


can we declare occurs in 01 level?

2 Answers   Temenos,


There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?

2 Answers  


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.

10 Answers   Mascon,


A s9(4). B v9(4) value 0.21 can i move this?

3 Answers  


What are the different forms of EVALUATE statement?

2 Answers   IBM, Micro Labs,


Categories