× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I will be no more help with this other than moral support, but that reminds
me when open query file first came out (YEARS AGO) and passing parameters to
it from an RPG or another PC and the fun that could be :-)

Your comment of being disgusted "...playing the apostrophe game." gave me
THAT flashback :-)

Chuck

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, August 17, 2005 4:38 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Can CL write to a disk file

Is there a command like SNDF that will work to a disk file?  V5R3.

Trying  workarounds like
  CHGVAR VAR(&OUTQFIX_OUTQ) VALUE('A')
  CHGVAR VAR(&OUTQFIX_AUTHLIST) VALUE('A')
  CHGVAR VAR(&OUTQFIX_CHANGED) VALUE('A')
  CHGVAR VAR(&OUTQFIX_MSGID) VALUE('A')
  STRQMQRY QMQRY(OUTQFIX) +
         SETVAR((OUTQFIX_OUTQ &OUTQFIX_OUTQ) +
                (OUTQFIX_AUTHLIST &OUTQFIX_AUTHLIST) +
                (OUTQFIX_CHANGED &OUTQFIX_CHANGED) +
                (OUTQFIX_MSGID &OUTQFIX_MSGID)) 
Which executes
INSERT INTO OUTQFIX 
VALUES(&OUTQFIX_OUTQ, &OUTQFIX_AUTHLIST, &OUTQFIX_CHANGED,
       &OUTQFIX_MSGID) 
But I get stupid messages like:
CALL ROB/TESTFIX 
   215 - STRQMQRY QMQRY(OUTQFIX) SETVAR((OUTQFIX_OUTQ 'A') 
  (OUTQFIX_AUTHLIST 'A') (OUTQFIX_CHANGED 'A') (OUTQFIX_MSGID 'A'))
Column A not in specified tables. 
RUN QUERY command failed with SQLCODE -206. 

And I'm just plain disgusted playing the apostrophe game.

Rob 



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.