I am tryin to select one records(SQL) using Rexx.Here is
the code
ADDRESS DSNREXX "EXECSQL FETCH C1 USING
DESCRIPTOR :TBSQLDA"
IF SQLCODE = 0 THEN
DO
LINE
= ''
DO I = 1 TO
TBSQLDA.SQLD
LINE = LINE
TBSQLDA.I.SQLDATA
END
I
SAY
LINE
END
ADDRESS DSNREXX "EXECSQL CLOSE
C1"
ADDRESS
DSNREXX 'DISCONNECT'
i am getting the following errors and also i dont know wr
to see the ouput.Can anyone please hlep me in solving this?
28 +++ ADDRESS
DSNREXX 'DISCONNECT'
Error running DB2REXX, line 28: Incomplete
DO/SELECT/IF
Answer Posted / jyotiprakash8
can any one send me website on which i can get REXX Book
with some Programing Example...
Thanks in advance
Jyoti Prakash
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what if I need to have the same application running on multiple platforms, such as unix and the mainframe? Does that mean I have to maintain two separate sources?
What are the functions available in rexx?
Can I cleanly uninstall oorexx?
What is the use of uni-rexx?
What is the difference between ooRexx and IBM's Object REXX for Windows?
what would I use uni-rexx for?
i want new rexx tool which will perform jcl chk without submitting it
Suppose I want to code a rexx program in order to get the inputfile and output files of jcl. I want code snippet or the coding for this?
how to access data held on the jes spool?
If I have limited experience with Rexx or it's been a long time since I've used it, what kind of help is available to get me started?
can I redistribute oorexx freely with commercial software?
Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?
how to access data in control blocks such as jobname?
can I port my existing applications from the mainframe or os/2? Will there be extensive changes required to do this?
can oorexx run ibm object rexx programs?