How to retrive the 9th records out of ten records using the
cobol program ?

Answer Posted / kk

Hi,

just use count variable in working storage.then when read
the file add 1 to count.after that u give if statement if
count = 9 display rec.

Is This Answer Correct ?    20 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the compute verb? How is it used?

651


Discuss about changing dataset name in proc.

757


What type of SDLC u followed? Why?

1514


Why did you choose to work with ibm mainframe cobol programming?

625


What is rmode(24)

676






input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1772


How do you get the data to code the BMS macro?

1470


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6796


IF I mention stop run in CICS what happens?

1886


What is the default value(s) for an initialize and what keyword allows for an override of the default?

687


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1863


What is difference between static and dynamic call in cobol?

767


What is the difference between perform … with test after and perform … with test before?

871


What is the difference between binary search and sequential search?

634


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1833