Midrange News for the IBM i Community


Posted by: TFisher
DSPLY Operation Code
has no ratings.
Published: 19 May 2014
Revised: 21 May 2014 - 1128 days ago
Last viewed on: 21 Jun 2017 (2332 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

DSPLY Operation Code Published by: TFisher on 19 May 2014 view comments(2)

Just curious if anyone else has noticed this, and if so why...

I wrote a quick little program over the weekend to give to an entry level programmer to show them all the different SQL statements embedded in an RPG program.  When they run the program is uses DSPLY to show records being selected from a table.  When I run it from within PDM it shows one record at a time and I have to press Enter to continue to the next FETCH and DSPLY.  However, if I run it from QCMD or the system command window (QUSCMDLN) then DSPLY doesn't wait for a response and all the records are displayed on the screen real fast.

Has anyone else experienced this?  More importantly, does anyone know why or how to control this?

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS