Linux on 390 Port <[email protected]> wrote on 05/21/2014 11:08:16
PM:

> From: Virgilio Calimlim <[email protected]>
> To: [email protected]
> Date: 05/21/2014 11:09 PM
> Subject: dd command conv option for AIX V6 not downward compatible
> Sent by: Linux on 390 Port <[email protected]>
>
> (Pardon if this is not the right forum.)
>
> Folks,
>
> We're experiencing broken code due to a minor incompatibility after
> upgrading to AIX V6. The code below has been working for more than 15
years
> (based on timestamp) before the recent upgrade.
>
>    dd if=$infile of=$outfile conv=block,ebcdic cbs=80
>
> The conv option used to accept block and ebcdic values specified
together.
> We're now getting a "dd: bad arg ebcdic" error message. Man dd is saying
> these two values are now incompatible.
>
> My questions are:
> - Is it normal that customers experience broken code whenever there is
an
> AIX upgrade?
> - Is this incompatibility change present only in AIX V6, or is it
> generic/global meaning also present in the latest distributions of Linux
> and other -ix flavors?
>
> I've done a few MVS and VSE upgrades but have never received a single
> complaint from applications people of a broken code due to
upward/downward
> incompatibility. Must have been lucky until now. :D
>
> Thanks in advance!
> Virgilio B Calimlim
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

Hi Virgilio,

The AIX 4 and 5 documentation say the same thing about mixing those
options:

http://publib16.boulder.ibm.com/pseries/en_US/infocenter/base/43_docs/cmds/aixcmds2/dd.htm#A101930e6

http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds2/dd.htm

block
Converts variable-length records to fixed-length. The length is determined
by the conversion block size (cbs). This option is incompatible with the
ascii, ebcdic, ibm, and unblock options.

Are you sure that you were using IBM's dd program on your old system?
Could it have been GNU dd, or some private shell script?

Regards,

Ray Higgs
System z FCP Firmware Development
Bld. 706, B42
2455 South Road
Poughkeepsie, NY 12601
(845) 435-8666,  T/L 295-8666
[email protected]

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to