home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / rexxgdb2.zip / Thread4.CMD < prev    next >
OS/2 REXX Batch file  |  1997-08-10  |  345b  |  11 lines

  1. /* rexx */
  2. sql4 = 'select name from staff where id = 40'
  3. say '4 Started' time('L')
  4. returned = g2selectone('sql4')
  5. say '4 SelectOne returns ' returned
  6. say '4            length ' length(returned)
  7. say '4  G2SQLCODE        ' g2sqlcode
  8. say '4  G2LONGRESULT     ' g2longresult'    length='length(g2longresult)
  9. say '4 Ended' time('L')
  10. return
  11.