300 readers a day keep the doctor away!
I took a 5 day break from blogging but don’t worry. They only send out the badges of part 2 on the 20th of September. There’s still four days to finish part 2 in time.
Edit VSAM using File Manager
IBM Master the Mainframe 2019 Part Two – Challenge #12
I might have made a mistake in challenge #11 of part 2. Please forgive me 🙂 It’s a learning blog 🙂 Let me add a few more smileys to make it right 🙂 🙂
If you have only 4 lines in VSAM.ESDS then you need to go to PDS.DATA and make a new member called PACKED using s PACKED. Then copy ‘zos.mtm2019.public.shared.data(packed)’ into it. After that, edit Z######.JCL(IDCAMS) and change 000013 to PDS.DATA(PACKED) and sub ; =sd ; st. If it doesn’t work, then please do challenge 11 again.
How to open the File Manager
From the ISPF Primary Option Menu type F.2 and press enter.
Use File Manager to Identify and Modify Packed Decimal in a VSAM data set
Let’s edit VSAM.ESDS data set using the File Manager.
I now am in my VSAM.ESDS file. We need to change the File Manager Editor Format setting from CHAR to HEX.
Change the Format to HEX and press enter. Then enter the line command cols at 000009 and 000012. Next up we need to change a few things:
- Change packed decimal positive 4096 to positive 2048
- Change packed decimal negative 256 to negative 128
I have changed 04096A to 02048A and 256B to 128B. Let’s enter the primary command top and let’s prepare to copy the output to P2.OUTPUT(#12).
I have entered the line command c12 at line 000001 and the primary command rep p2.output(#12). You should see Member #12 replaced in the upper right corner!
Let me see if I did it right.
Challenge #12 is correct! Nice!