If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially?
For example :
Input File
01
02
03
Para 900
Read infile
Display Infile rec
Read infile
Display infile rec
Read infile
Display infile rec.
What will be the output?
Answers were Sorted based on User's Feedback
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??
01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
without performing any operations on a file how can i know whether it contains data or not
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.
What is Static,Dynamic linking ?
in the TIME parameter we r giving hours r minutes
I want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
88 level entry is used for (a) data items in WORKING-STORAGE SECTION (b) items with RENAMES clause (c) condition-names (d) None of the above
How to Write the RESTART Logic Using COBOL?
4 Answers GalaxE, L&T, Syntel, TCS,
can any one help -s806