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
Copying Packed Field as Char Field into Destination File
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1
- 1753
-
by sergeyken
View the latest post
Fri Mar 26, 2021 11:59 pm
-
- 2
- 1549
-
by sergeyken
View the latest post
Sun Jan 26, 2025 3:07 am
-
-
sort card to add zeros to varying alphanumeric field.
by longfall » Thu Mar 09, 2023 12:03 am » in DFSORT/ICETOOL/ICEGENER - 1
- 1810
-
by sergeyken
View the latest post
Thu Mar 09, 2023 2:04 am
-
-
- 2
- 4109
-
by sergeyken
View the latest post
Tue Aug 02, 2022 4:07 am
-
-
Array processing and Table handling with packed decimal
by rogerstrycova » Tue Oct 26, 2021 3:55 pm » in IBM Cobol - 2
- 1691
-
by Robert Sample
View the latest post
Wed Oct 27, 2021 1:12 am
-