BGZTK0004E Failed to copy /upty/SYED/zos-asm/asm/hello.asm to SYED.ZOSASM.TEST(HELLO). The actual cause is //DD:SYS00009: fwrite() failed; EDC5003I Truncation of a record occurred during an I/O operation.; #660
Replies: 2 comments 8 replies
-
|
Hi, For your information, we encountered this type of problem when certain characters in the source files in Git, encoded in UTF-8, did not have a corresponding representation when copied to USS, which used EBCDIC encoding. Example of a .gitattributes file for a French context: Is there a reason to use IBM-1047 encoding for assembly programs? Also pay attention to the declarations made in the USS profile file and to the autoconvert : |
Beta Was this translation helpful? Give feedback.
-
|
Hi, The fact that the command Have you checked the contents of the file after cloning it to USS? (option 3.17 in ISPF/PDF menu). Which version of Git for z/OS are you using?
Otherwise, the RocketSoftware version of Git for z/OS works:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team
I am new to dbb-zappbuild and trying to build a simple helloworld assembler program. Appreciate if anyone please help me identify the problem here:
My hello.asm is tagged as IBM-1047 and dbb build fails with this exception when i run the build from USS dbb-zappbuild directory.:
/upty/SYED/dbb-zappbuild: >groovyz build.groovy -w /upty/SYED -a zos-asm -o /upty/SYED/build/zos-asm -h SYED.ZOSASM zos-asm/asm/hello.asm -v > build.log 2>&1
BGZTK0004E Failed to copy /upty/SYED/zos-asm/asm/hello.asm to SYED.ZOSASM.TEST(HELLO). The actual cause is //DD:SYS00009: fwrite() failed; EDC5003I Truncation of a record occurred during an I/O operation.
This program runs fine when i remove the tag of the file hello.asm.
And also the .properties files are working only when they are UTF-8 but not with IBM-1047
Beta Was this translation helpful? Give feedback.
All reactions