The output of my select statement ie "3 records selected" is putting too much information in the PH file. How can I suppress that output in a PROC so those messages do not get written out while running in a phantom process?
------------------------------
[Gary] [Rhodes]
[Universe Developer]
[NPW Companies]
[Hialeah] [FL] [USA]
------------------------------
Page 1 / 1
The output of my select statement ie "3 records selected" is putting too much information in the PH file. How can I suppress that output in a PROC so those messages do not get written out while running in a phantom process?
------------------------------
[Gary] [Rhodes]
[Universe Developer]
[NPW Companies]
[Hialeah] [FL] [USA]
------------------------------
------------------------------
[Gary] [Rhodes]
[Universe Developer]
[NPW Companies]
[Hialeah] [FL] [USA]
------------------------------
>COPYP VOC PQFORUM (TSN
PQFORUM
PQ
HSELECT VOC SAMPLE 1
P
HCLEARSELECT
P
HSELECT VOC SAMPLE 1
PH
HCLEARSELECT
P
4
>PQFORUM
1 record(s) selected to SELECT list #0.
SELECT list number 0 cleared.
SELECT list number 0 cleared.
------------------------------
Neil Morris
Universe Advanced Technical Support
Rocket Software
------------------------------
The output of my select statement ie "3 records selected" is putting too much information in the PH file. How can I suppress that output in a PROC so those messages do not get written out while running in a phantom process?
------------------------------
[Gary] [Rhodes]
[Universe Developer]
[NPW Companies]
[Hialeah] [FL] [USA]
------------------------------
------------------------------
[Gary] [Rhodes]
[Universe Developer]
[NPW Companies]
[Hialeah] [FL] [USA]
------------------------------
EXECUTE 'SELECT VOC' CAPTURING OUTPUT
Posted: 12-16-2022 16:26
------------------------------
Doug Averch
Owner
U2 Logic
------------------------------
The output of my select statement ie "3 records selected" is putting too much information in the PH file. How can I suppress that output in a PROC so those messages do not get written out while running in a phantom process?
------------------------------
[Gary] [Rhodes]
[Universe Developer]
[NPW Companies]
[Hialeah] [FL] [USA]
------------------------------
------------------------------
[Gary] [Rhodes]
[Universe Developer]
[NPW Companies]
[Hialeah] [FL] [USA]
------------------------------
P - Process
PH - Print and Hush
PP - Print and Process
PW - Print and Wait for input - options are g or C/R (go); s (skip) and x (exit)
PX - process and exit the PROC (not sure about this one - it's in D3 at least)
Regards
JJ
------------------------------
John Jenkins
Thame, Oxfordshire
------------------------------
There are a few other options on the PROC 'P' command as well - from memory:
P - Process
PH - Print and Hush
PP - Print and Process
PW - Print and Wait for input - options are g or C/R (go); s (skip) and x (exit)
PX - process and exit the PROC (not sure about this one - it's in D3 at least)
Regards
JJ
------------------------------
John Jenkins
Thame, Oxfordshire
------------------------------
P - Process
PH - Print and Hush
PP - Print and Process
PW - Print and Wait for input - options are g or C/R (go); s (skip) and x (exit)
PX - process and exit the PROC (not sure about this one - it's in D3 at least)
Regards
JJ
------------------------------
John Jenkins
Thame, Oxfordshire
------------------------------
HSELECT INVOICE
STON
HPROCESS.INVOICES
PH
We have phantoms running all in the background in our applications. The number of records is suppressed like this:
EXECUTE 'SELECT VOC' CAPTURING OUTPUT
Posted: 12-16-2022 16:26
------------------------------
Doug Averch
Owner
U2 Logic
------------------------------
EXECUTE 'SELECT VOC' CAPTURING OUTPUT
Posted: 12-16-2022 16:26
------------------------------
Doug Averch
Owner
U2 Logic
------------------------------
The downside would be you wouldn't see if something went wrong.
If you are using Basic then the previous suggestion of EXECUTE cmd CAPTURING OUTPUT should work.
If you are just using PROC then the HUSH command will suppress ALL output, or the other alternatives already suggested will also work.
As usual many ways to solve the same problem.
------------------------------
Jonathan Smith
UniData ATS
Rocket Support
------------------------------
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.