HP3000-L Archives

June 2021, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
krikor Gullekian <[log in to unmask]>
Reply To:
krikor Gullekian <[log in to unmask]>
Date:
Wed, 2 Jun 2021 15:50:50 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (73 lines)
 Why don't you put the info in a subfile in Quick and access the subfile in Quiz?
This way you don't have to worry, and it works in other platforms as well, if you decide to migrate.
Thanks,Krikor

    On Wednesday, June 2, 2021, 11:40:04 AM EDT, James B. Byrne <[log in to unmask]> wrote:  
 
 External Email

If there is anyone left on the list who can answer this then I would appreciate
the information.

I have an existing QUIZ program that prompts the user for a number of
transactions terminated by a blank response then followed by a parameter
prompt, that has a default value is no data is provided, and which then runs.
The objective is to pass to the QUIZ program a set of prompt answers prepared
by a QUICK screen so that the user does not have to enter anything.

If necessary I can alter the QUIZ report, or create a variant, which reads the
propt data from a flat file created in the QUICK screen and eliminating the
second data prompt.  However, I thought to try and pass the information from
QUICK to QUIZ via STDIN.  And this is where I am having difficulty.

In the QUICK screen I create a temp file, QKARINE1, and write the transaction
code to the first line and blank lines to the next two records.  I then want to
pass this file to QUIZ via STDIN using "FILE STDIN=QKARINE1;TEMP".  If I do
this outside of QUICK then it works perfectly.  QUIZ picks up the responses
from STDIN and runs the report.

When I try this through a RUN COMMAND in QUICK then I get this error:
**** OPEN OF STDIN FAILED (CERR 14)

ABORT: QUIZ.PH839C.COGNOS
NM SYS  a.00fedf70 dbg_abort_trace+$28
NM USER  129.000ab208 _csu_error+$e4
NM PROG  b4.0019d4e0 _start+$20


Press RETURN to continue.


Now while STDIN is a designated file name for QDESIGN it is not listed as such
for QUICK itself.  So, I am sort of at a loss to understand why QUIZ cannot
open STDIN from inside QUICK.

Has anyone run into the situation of passing parameters to QUIZ from QUICK
without using a FILE in an ACCESS statement?  How was it solved or is a FILE
statement absolutely necessary?





--
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
  Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:[log in to unmask]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario            fax: +1 905 561 0757
Canada  L8E 3C3

This message is not from a UTC.EDU address. Caution should be used in clicking links and downloading attachments from unknown senders or unexpected email.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
  

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2