Page 1 of 1

Data issue while transferring data From Mainframe to IBM i

Posted: Wed Dec 21, 2022 2:07 pm
by jaii400
Posted the below topic under "Software Tools"

Excuse me for double posting the same topic.

Hi,

I have received a file from mainframe and I have to store the data in IBM i Physical File.

What I tried:
Step 1. Moved the mainframe file into IFS folder (changed the CCSID into 838)
Step 2: Move the data from IFS folder to a IBM i Physical file using CPYFRMSTMPF (From CCSID is 838 & To CCSID is 37)
Step 3: The mainframe data fields are containing data with cobol (COMP-3) format type.
The data is not getting viewed properly in physical file.
When the same is viewed in hexadecimal mode the data is seen, this is mostly happening for packed data fields.

What Needed: Best guidance/solution to move the data from mainframe to IBM i.

Thanks in advance.