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
is there an aix version of oorexx?
How to code the db2 queries using rexx?
How to find or access the current level of a gdg?
Can anyone provide me the source code for LOC(lines of code) counter written in REXX language which can run on IBM mainframe z/OS V1R4. The LOC counter should be able to count the comments,lines of code,blank lines in a COBOL program and JCL's
How to code the db2 queries using rexx, and also plz send some link and examples using db2 queries?
What is the difference between ooRexx and IBM's Object REXX for Windows?
what is uni-rexx?
What are the functions available in rexx?
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?
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?
When will a port of ooRexx to "XYZ" be available?
why is there no os/2 (ecs) port of oorexx?
how long does the install of oorexx take?
I want to set position for a particular text in a certain position in several of my cics maps.Please provide me with a solution. Ex: If "F1-Help" has to be set to pos(4,27) always in all the maps within a PDS.
What is the use of uni-rexx?