Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cobol/AS400 assistance

Status
Not open for further replies.

Uvaiz

MIS
Jun 13, 2003
38
CA
Hello everyone,

I have a developed a COBOL program on AS400 using a display file to display user selected information.

In my DSPF screen file I have indicated SFLSIZ(200) and SFLPAG(10). Whilst the 10 records are displayed on screen in each refresh but total records read does not exceed 99 even though the Subfile size is set at 200. When I use AS400 query on the index file the records for the user selected criteria shows about 150 records.

Would someone kindly explain why the screen does not display all records (max is 99) despite the subfile size is increased.

Thank you,
Tony
 
You need to give a lot more information than that, but more importantly how are you loading the records into the subfile.

As you are saying that the records stop at 99 I dear to say that the variable you are using as subfile relative record number is set to a PIC 99. You need to increase this.



Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Hello Frederico,

You are indeed great. As suggested I had restricted relative record number to stop at 99. Incresed the variable and presto!!!!!!! it worked.

Your input is indeed appreciated. Thank you very much.

Thanks
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top