Perfect, thanks for all your help...
ed dict myfile myfile (d
add callx account,file, program on attribute 8
ed account,file, program
compile program with flash
verify in DM that callx is active
logoff and back in to system
IT WORKS!!! Seems so simple. thanks again everyone.
There is also another thread on callx in forum with good information about using background jobs for any who find this thread.
------------------------------
Craig Curtis
System Programmer
Sevier Valley School District
Richfield UT US
------------------------------
Original Message:
Sent: 08-31-2022 19:02
From: Chris Macadam
Subject: d3 callx help
OK, you'll want to do an
ed dict myfile myfile
and make the change there instead of
ed md myfile
Cheers.
------------------------------
Chris Macadam
Technical Support Engineer
Rocket Software
Original Message:
Sent: 08-31-2022 18:58
From: Craig Curtis
Subject: d3 callx help
Thank Chris
yes my unclear statement is what I have done. ed md myfile (d and add the callx . You mentioned the logoff and login again and thought you might have solved the mystery. But no. It still doesn't seem to ever make the callx. :(. I am just testing by using ed and modifying the file.
also we are on d3 redhat 10.3.3
does the subroutine need anything special?
------------------------------
Craig Curtis
System Programmer
Sevier Valley School District
Richfield UT US
Original Message:
Sent: 08-31-2022 18:48
From: Chris Macadam
Subject: d3 callx help
Hi Craig,
I'm a little unclear on the statement you made - I have added in file item in dm attribute 8 - callx account,bp, testx
So just to be clear, if you have a file called 'myfile' for instance, on which you would like to add a callx, you would add the 'callx account,bp, testx' to attribute 8 (correlative) of the D-ptr of the data level of the of the 'myfile' file (ed dict myfile myfile or ud myfile). Once that is in place any update to any item in 'myfile' will cause the 'testx' subroutine to be executed as part of the update process. On D3/Windows you would need to log off and back on again if the file had already been opened for that change to take effect for your session.
Hope that helps.
------------------------------
Chris Macadam
Technical Support Engineer
Rocket Software
Original Message:
Sent: 08-31-2022 17:27
From: Craig Curtis
Subject: d3 callx help
I have typed callx in the dm account and it says on.
I have added in file item in dm attribute 8 - callx account,bp, testx
I have created the program testx . it just opens a dummy file and adds a item.
Item never gets added. It is like the callx never gets called. nothing in runtime-errors or errors. I am sure I am missing something stupid but ..........
Thanks for any help.
------------------------------
Craig Curtis
System Programmer
Sevier Valley School District
Richfield UT US
Original Message:
Sent: 08-31-2022 13:04
From: Craig Curtis
Subject: d3 callx help
Morning,
I have never used callx and think I have found a need. From my understanding a callx will trigger a program on a item change. Not sure if it can be triggered from a attribute change but a item change would be ok.
Question is, How do you go about setting it up and making it work?
Thanks
------------------------------
Craig Curtis
System Programmer
Sevier Valley School District
Richfield UT US
------------------------------