• Subject: SQLRPLE prepare statement into
  • From: Booth Martin <booth@xxxxxxxxxxxx>
  • Date: Thu, 24 Jan 2019 17:09:18 -0600
  • Arc-authentication-results: i=1; mx.google.com; spf=neutral (google.com: 66.39.4.46 is neither permitted nor denied by best guess record for domain of booth@xxxxxxxxxxxx) smtp.mailfrom=booth@xxxxxxxxxxxx
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:mime-version:user-agent :date:message-id:subject:from:to; bh=5y2oVloNA+vbYu2LEaXqaSw4Ved3XiHvgCz4jJnp5tg=; b=e02sLDR0zxapE4Uf7wp2yYqPy5vSXC6Qq1oUxOru6uwTwwAIJGcK+nFDuPqgROs9RM j8XtiKPNDuHFD3qus0tD+wWCTpkmZB16gjDcvom4/bg9kIH3TXA7lGB0C9StuiV52dBT pImlYhwJ2qZJ5STuRlvDWztmv79kkdLlWYxi/2kjcty8SyrHzdK2RsUmwRa56R/ZQIqt 82Fe/p6PrpnqEkF9S3tYYJRhWJPOfA3QP6I4uo1b7kd6+ne8TOt4I50T3pj99dAkOxuP ycQrWFfOTblUtaytCvFVnZPFRkuXvC7FuRQLhzcLeO4/yte0k9VYBcBhzK7+9C0niOhh UHlg==
  • Arc-seal: i=1; a=rsa-sha256; t=1548371361; cv=none; d=google.com; s=arc-20160816; b=dwFRDpPFT+XHk5j5jhoUMFVTHVvHb49zWXilMiX9NXKYwuyoOJ8n1OVyzQEnbf2TDC qIOEB+KUCUfNIo3BgvxqYqr8SYv55VpvIcGMoEjbYwY5SdLbDkSHdgHQG6ap+5K82q89 wT+aaDaFgNhgyaPy2eDKyb0UnxRXBSXSpuf0Am+fdqr8aQqEj64gIpcc6ImwZznFcYwK eAOyLGqbMs0xE9x5qaBG2SMB91tad1NPPzihav+sErHdD34gjk9I4mWmPuYvMeS/X2LE tQrzvq1B06143V1a3SCkVoD60d0cLVXuvywIX6NV5IcSmfgMQNadyw7uuP5t80GQUMZB zp4A==
  • List-archive: <https://archive.midrange.com/rpg400-l/>
  • List-help: <mailto:rpg400-l-request@lists.midrange.com?subject=help>
  • List-id: "RPG programming on the IBM i \(AS/400 and iSeries\)" <rpg400-l.lists.midrange.com>
  • List-post: <mailto:rpg400-l@lists.midrange.com>
  • List-subscribe: <https://lists.midrange.com/mailman/listinfo/rpg400-l>, <mailto:rpg400-l-request@lists.midrange.com?subject=subscribe>
  • List-unsubscribe: <https://lists.midrange.com/mailman/options/rpg400-l>, <mailto:rpg400-l-request@lists.midrange.com?subject=unsubscribe>

       exec sql prepare Stmt1 from
          'select AFIELD from aMachine/aLibrary/aFile'
               + ' where rrn(aFile) = ?';
       exec sql execute Stmt1 into :wField using :wSeed;

SQL0104 Token : was not valid. Valid tokens: SQL DESCRIPTOR

What is missing?  I am finding nothing that I understand about DESCIPTORs


This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2019 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].