Search the web
Sign In
New User? Sign Up
cbt-tape
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
File 183 Member VDL   Message List  
Reply | Forward Message #178 of 320 |
When using VDL I have discovered that the code picks up the DSL table
from the 1st invocation of 3.4, even if with multiple stacked 3.4
invocations. "Obviously," there is only 1 table at the storage
address indicated below(line beginning with table=). I am wondering
how to find the table from the latest invocation of 3.4 in the same
screen.

I can see that perhaps field TCBLTC of the TCB will start me on the
trail for the latest table, but the rest of the code escapes me since
I don't know where to go from there. Can anyone help with this?
TCB = PTR(540) /* TCB (EXEC COMMAND) PSATOLD
*/
TCB = PTR(TCB+136) /* TCBLTC */
...

The base code from VDL:
TCB = PTR(540) /* TCB (EXEC COMMAND) PSATOLD
*/
TCB = PTR(TCB+132) /* TCB (ISPTASK) TCBOTC
*/
FSA = PTR(TCB+112) /* FIRST SAVE AREA TCBFSA
*/
R1 = PTR(FSA+24) /* ISPTASK'S R1
*/
TLD = PTR(R1) /* TLD ADDRESS
*/
panel = STORAGE(D2X(TLD+344),8) /* Current Panel from TLD+X'158'
*/
IF panel\='ISRUDSL0' THEN do;say panel;SIGNAL
Invalid_Environment;end
DTA = PTR(TLD+76) /* DTA ADDRESS
*/
table = STORAGE(D2X(DTA+196),8) /* e.g.tbl NAME: DSL12345
*/

Thanks,

Larry Altman
Met Life IMS Database Administration
732-893-4223(desk)






Tue Oct 17, 2006 12:55 pm

ldala2002
Offline Offline
Send Email Send Email

Forward
Message #178 of 320 |
Expand Messages Author Sort by Date

When using VDL I have discovered that the code picks up the DSL table from the 1st invocation of 3.4, even if with multiple stacked 3.4 invocations....
Lawrence
ldala2002
Offline Send Email
Oct 17, 2006
1:22 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help