Wednesday, December 7, 2011

CICS: Read a KSDS file in backward direction

Lets say you have partial key and you want to read the KSDS file backwards. Below steps will achieve that.

1. StartBR with partial key
2. read next and then read previous
3.keep read previous until end file (in this case top of the file) is reached.

Lets say you want to read the KSDS file backwards from the last record. Below steps will achieve that.
1 . StartBR with HIGH-VALUES key
2. READ prev and keep read prev until end file (in this case top of the file) is reached.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.