PugSA has asked for the wisdom of the Perl Monks concerning the following question:
-----------------------------------------------------------#!c:\perl\bin\perl -w use Convert::IBM390 qw(:all); unless (open(OUTPUT, ">a2e.txt")) { die ("cannot open configuration file \n"); } @var=("001","001","00000","000","00000","FNUT"); foreach(@var) { print $_; } #$template='p1.0 p1.0 p3.0 p1.0 p3.0 E5'; $template='p3 p3 p5 p3 p5 E5'; $ebout = packeb($template, @var); print OUTPUT ($ebout);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Ascii to ebcdic packed for os390
by Anonymous Monk on Apr 26, 2005 at 07:35 UTC | |
by PugSA (Beadle) on Apr 29, 2005 at 07:04 UTC | |
by PugSA (Beadle) on May 03, 2005 at 06:59 UTC | |
by PugSA (Beadle) on May 03, 2005 at 07:56 UTC |