Page 1 of 1

Need help to access ESDS record directly.

PostPosted: Thu Oct 31, 2013 5:53 pm
by bala_selva
Hi,

I am posting this with doubt ,is it possible to access the record directly in ESDS :? .

I have an requirement that , I need to access the ESDS file directly using input file data .
I am getting the key value from the input control card based on that value; program needs to points the particular rec(ESDS file)...

EG:

1 AAA CODE
1 BBB CODE
1 CCC CODE
2 AAA CODE
2 BBB CODE
2 CCC CODE
3 AAA CODE
3 BBB CODE

Here the case, if I get the value 3 from input control card, then I need to read only below record
3 AAA CODE
3 BBB CODE

I can do sequential read to get that particular record, since it having more record, it will give performance issue.

Kindly pls help me on this..

Thanks in advance
balaji :)

Re: Need help to access ESDS record directly.

PostPosted: Thu Oct 31, 2013 6:10 pm
by bala_selva
This is logic for cics ...

Re: Need help to access ESDS record directly.

PostPosted: Thu Oct 31, 2013 7:32 pm
by enrico-sorichetti
evaluate/consider the use of an alternate index

Re: Need help to access ESDS record directly.

PostPosted: Fri Nov 01, 2013 10:00 am
by bala_selva
Hi Enrico,

Thanks for the reply...do you mean to say use KSDS file, but I can’t use KSDS file. I got requirement to use ESDS, since it’s already in production (that having actual data).

Pls advise me, is it possible to position the ESDS record using RBA?

Regards,
Balaji

Re: Need help to access ESDS record directly.

PostPosted: Fri Nov 01, 2013 10:16 am
by bala_selva
Hi Enrico,

Thanks for the reply...I understand that we can create AIX index for ESDS file and PATH etc.
Pls advise me if possible, How to position the ESDS record after above process (is it by using RBA?)

Regards,
Balaji