Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Variant 1: Conversion of a complete record

&pagelevel(4)&pagelevel

Input:

SAM file PERS.DPT.1 with CCSN EDF03IRV

Output:

SAM file PERS.DPT.UFT16 with CCSN UTF-16

Tracer listing:

/ADD-FILE-LINK FILE-NAME=PERS.DPT.1,LINK-NAME=PCIN &*——————————————————  (1)
/CREATE-FILE FILE-NAME=PERS.DPT.UTF16
/ADD-FILE-LINK FILE-NAME=PERS.DPT.UTF16, - &*——————————————————————————  (2)
/          LINK-NAME=PCOUT,ACCESS-METHOD=*SAM
/MODIFY-FILE-ATTRIBUTES FILE-NAME=PERS.DPT.UTF16, - &*—————————————————  (3)
/          CODED-CHARACTER-SET=UTF16
/START-PERCON &*———————————————————————————————————————————————————————  (4)
%  PER0000 PERCON STARTED, VERSION V03.0A00
//END &*———————————————————————————————————————————————————————————————  (5)
%  PER0030 NUMBER OF PROCESSED RECORDS FOR LINK='PCIN' &*——————————————  (6)
           (FILE=:2OS6:$WKST.PERS.DPT.1):                   8
%  PER0030 NUMBER OF PROCESSED RECORDS FOR LINK='PCOUT'
           (FILE=:2OS6:$WKST.PERS.DPT.UTF16):                   8
% PER0031 PERCON TERMINATED NORMALLY &*————————————————————————————————  (7)

(1)

The input file PERS.DPT.1 (CCSN: EDF03IRV or NONE) is assigned.

(2)

The access method SAM (ACCESS=*SAM) is defined. This is mandatory for conversion.

(3)

The output file PERS.DPT.UTF16 is assigned. The CCSN UTF-16 causes conversion to take place in the PERCON run.

(4)

PERCON is called.

(5)

The END statement starts the conversion operation and terminates PERCON.

(6)

PERCON messages: The number of records transferred per file is output.

(7)

PERCON was terminated normally.