Hi all,
When i copied records from one VSAM file to Physical seq file using IDCAMS utility, i could see some invalid (non-display) characters
in the PS file. Those were identified to be X’05’ and X’3F’. but we dont want it to be present in the PS file.
VSAM(KSDS) file was updated by a batch program and the VSAM records has redefine statements. here is the layout
01 WS-REC.
05 WS-KEY.
10 WS-NUM PIC X(10).
10 WS-DT PIC X(08).
10 WS-SEQ-NUM PIC 9(05).
05 WS-DETAILS.
10 WS-PROD-DETAILS PIC X(210).
10 WS-CNT-DETAILS REDEFINES WS-PRODUCER-DETAILS.
15 WS-EXT-NUM PIC X(03).
15 WS-EXT-NT-NUM PIC X(05).
15 FILLER PIC X(202).
10 WS-SUB-CLI-DETAILS REDEFINES WS-PRODUCER-DETAILS.
15 WS-CD PIC X(03).
15 WS-NUM1 PIC S9(4) USAGE COMP.
15 WS-GF-NUM PIC S9(4) USAGE COMP.
15 FILLER PIC X(203).
10 WS-SUBGT-DETAILS REDEFINES WS-PRODUCER-DETAILS.
15 WS-B-CD PIC X(01).
15 WS-SGA-PCT PIC S9(5)V9(4) USAGE COMP-3.
15 WS-SGA-R-PCT PIC S9(5)V9(4) USAGE COMP-3.
15 WS-SGA-IN PIC X(09).
15 FILLER PIC X(190).
05 FILLER PIC X(50).
all fields were initialized and populated and written into VSAM file.
so how do we get the clean Ps file ?... pls advice me on this