REXX with DB2-- need help



IBM's Command List programming language & Restructured Extended Executor

Re: REXX with DB2-- need help

Postby NicC » Sun Mar 13, 2011 9:08 pm

But BLING would only handle the commands that it knows otherwise it would blow out in some manner. If it was nice, just a standard -3 with a message saying command not understood.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: REXX with DB2-- need help

Postby dick scherrer » Mon Mar 14, 2011 2:39 am

Hello,

But BLING would only handle the commands that it knows otherwise it would blow out in some manner.
Well, that is what i would expect. . . If an environment is defined with some commands, only those commands should work.

Maybe there is something i am completely missing :?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: REXX with DB2-- need help

Postby Akatsukami » Mon Mar 14, 2011 10:29 am

NicC wrote:
environment is pretty much an arbitrary string


No it is not - it is the command processor which will process the commands which will be DSNREXX if you follow the documentation. You will get a RC=-3 if you put in an invalid environment.

Try
CALL RXSUBCOM "ADD", "FOO", "DSNREXX"

and then send your SQL to ADDRESS FOO.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post