In COBOL "BEFORE" advancing is there or not ?
Answers were Sorted based on User's Feedback
Answer / nag(igate)
Yes, Before advancing clause is there. but it is default in
perform statement.
ex:
Perform para1 varying I from 1 by 1 until I > 10 { test
before or after}
1. if we code before: the condition will check first then
loop will execute. it is default.
2. if we code after: the loop will execute first then
condition will check.
pls correct me, if i am wrong..............
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / raja
After clause is default, but before clause also there.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravi
Before advancing is not there.
only after advanving is allowed
| Is This Answer Correct ? | 0 Yes | 2 No |
I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?
created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
What are the rules of the move verb?
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
What type of SDLC u followed? Why?
what r the types of perform statement
What is the default value of DISP for temp datasets
What are the different forms of EVALUATE statement?
I got user abend U4038 while compiling my runjcl.. can anyone help me?
what happens if parmparameter passes zero bytes to the program
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)