garlapati
26th February 2009, 09:59
Hi,
in LN6 i do have a table with 4indexes. A maintain session is using this table to start. my need is i need to start this sessoin with default index4. after sessoin is launched i can change to any other index later. But when session launched 1st time the default index should be 4. i applied the sort sequence to index4 as 1. But still its not working. the session is launching with the index that session has closing it.
why its not working default index? did i miss any setting?
suggest me.
thank you.
Sunil.G

NirajKakodkar
26th February 2009, 10:11
Try using to.key()

Regards,
Niraj

garlapati
26th February 2009, 10:24
i used this already in before.program. but After launching the session with default index & after i try to change to other index the session is sticking to default index only as i specified to.key in before.program.

it did not work for me. do i need to place to.key in any other section?

thanks
Sunil.G

amitmmokashi
26th February 2009, 10:32
Hi,
I think you need to change the start option on your session. It should be choice 7 (find.data).
I guess the start option on your session currently is choice 44 (get.defaults)

Regards,
Amit

garlapati
26th February 2009, 11:06
unfortunately start option with 7 is not working. earlier my session start setting was no start command.

rahul.kolhe22
26th February 2009, 11:24
Hi Sunil,
I am not very much sure, but just try deleting the user default settings using the session "ttstpdeldeflt" for the specific session, company and user.

Even if not then try unchecking the check box "Remember the user's setting" in the "User Data" session and then do Convert Changes to Runtime DD and relogin.

Hope it helps

Regards,
--Rahul

garlapati
26th February 2009, 12:52
rahul,
thanks for the idea. i was pulling my hair from past 2days. i could have this question earlier in this forum. its a small things & wasted lot of time.
thanks for the guidance.

regards
Sunil.G