Copying Packed Field as Char Field into Destination File

Compuware's data management products: File-AID for IMS, File-AID/MVS, File-AID for DB2 and DBA-XPERT for DB2
durai_pdy
Posts: 1
Joined: Wed Sep 03, 2014 11:29 am
Skillset: MVS Assembler, JCL, IMS DB, COBOL
Referer: Online portals

Copying Packed Field as Char Field into Destination File

Postby durai_pdy » Wed Sep 03, 2014 11:56 am

The Source File (DD01 say) has a Packed Decimal data of 4 Bytes at some position in the Input Record.

In FILE-AID, While copying that record from the Source File to the Destination File, How to Copy or Move it as a Character Data so that the Data could be viewable.

As part of INSYNC to FILEAID Conversion in our Shop, I see the below INSYNC Instruction
MOVE=(28,6,C,146,4,P) - This moves the 4 Byte Packed Data at position 146 from the Source File as a 6 Byte Character Data into the Position 28

I would need to convert this MOVE into the FILEAID Equivalent. I have searched the manuals, forums but do not find any clue to this. Tried the REFORMAT option, but that did not help much

Kindly assist

  • Similar Topics
    Replies
    Views
    Last post