Previous Topic: Edit VSAM ESDS FilesNext Topic: Working with VSAM Keys


Edit VSAM KSDS Files

In this example of a VSAM KSDS data set Edit session, the key is in position 11 for a length of 9. The key is highlighted and protected. There is a blank column before and after the key to make room for the attribute byte required to protect the key. The example shows the COLS line command.

Edit YOUR.KSDS Columns 00001 00072 COMMAND ===> SCROLL ===> CSR ****** ****************************** Top of Data ***************************** =COLS> ----+----1 ----+---- 2----+----3----+----4----+----5----+----6----+----7 000001 AALJIM 000000001 TX1 0010000001000000010000000010000000001 000002 BALJIM 000000002 TX1 0020000002000000020000000020000000002 000003 DALJIM 000000008 TX1 0080000008000000080000000080000000008 000004 DALJIM 000000009 TX1 0090000009000000090000000090000000009 000005 DALJIM 000000010 TX1 0100000010000000100000000100000000010 000006 EALJIM 000000011 TX1 0110000011000000110000000110000000011 000007 EALJIM 000000013 TX1 0130000013000000130000000130000000013 000008 EALJIM 000000015 TX1¬ ¬ 0150000015000000150000000150000000015¬ 000009 FALJIM 000000016 TX1? ? 0160000016000000160000000160000000016? 000010 GALJIM 000000022 TX1 0220000022000000220000000220000000022 000011 GALJIM 000000023 TX1 0230000023000000230000000230000000023 000012 GALJIM 000000023 TX1 0230000023000000230000000230000000023 000013 GALJIM 000000024 TX1| | 0240000024000000240000000240000000024| 000014 HALJIM 000000034 TX1| | 0340000034000000340000000340000000034| 000015 HALJIM 000000036 TX1? ? 0360000036000000360000000360000000036? 000016 IALJIM 000000037 TX1" " 0370000037000000370000000370000000037" 000017 IALJIM 000000039 TX1 0390000039000000390000000390000000039