FALSE

Page Nav

HIDE

Grid

GRID_STYLE

Important Question in VSAM

·          How can I specify dummy VSAM dataset in a JCL? Code AMP=’AMORG’ . This parameter tells the OS to treat the file as VSAM file. //N...

·         How can I specify dummy VSAM dataset in a JCL?
Code AMP=’AMORG’ . This parameter tells the OS to treat the file as VSAM file.

//NOVSAMIO DD DUMMY,AMP=’AMORG’

·         I want to make my VSAM dataset read-only. How can I do it?
By using INHIBIT along with ALTER command
e.g.,
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER -
SECRET.KSDS.DATA -
INHIBIT
ALTER -
SECRET.KSDS.INDEX -
INHIBIT
        /*
       //

No comments