Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ooRexx behavior

Status
Not open for further replies.

pjbr34

Technical User
Aug 8, 2005
3
ES
Hi again, list.
This is my problem-program:

/**/
"db2 get monitor switches"
"db2 update monitor switches using bufferpool on"
"db2 get monitor switches"
"db2 get monitor switches > ./koko"
"db2 get monitor switches"

The Default values for monitor switches are:

Buffer Pool Activity Information (BUFFERPOOL) = OFF
Lock Information (LOCK) = OFF
Sorting Information (SORT) = OFF

Then I change them and I visualize:

Buffer Pool Activity Information (BUFFERPOOL) = ON
Lock Information (LOCK) = OFF
Sorting Information (SORT) = OFF

Then I record this very information into ./koko file but my surprise is so great to see it records:

Buffer Pool Activity Information (BUFFERPOOL) = OFF
Lock Information (LOCK) = OFF
Sorting Information (SORT) = OFF

and if I display it again I see it correct:

Buffer Pool Activity Information (BUFFERPOOL) = ON
Lock Information (LOCK) = OFF
Sorting Information (SORT) = OFF

In summary: it behaves as if "whenever my program has to display the get monitor switches command, it does it fine. BUT whenever it has to write the get monitor command it always writes it wrong".

Why ????



Jose R. Baron
CALCULO S.A.
Madrid, Spain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top