trying to determine why running perl in BPXBATCH is producing ASCII output.
//PERLCHK EXEC PGM=BPXBATCH
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDPARM DD *
SH
echo "_BPXK_AUTOCVT " $_BPXK_AUTOCVT ;
echo "_CEE_RUNOPTS " $_CEE_RUNOPTS ;
echo "_TAG_REDIR_ERR" $_TAG_REDIR_ERR ;
echo "_TAG_REDIR_IN " $_TAG_REDIR_IN ;
echo "_TAG_REDIR_OUT" $_TAG_REDIR_OUT ;
echo "perl -v" ;
perl -v
/*
[3/23/2022 1:26 AM]
********************************* TOP OF DATA ********************
_BPXK_AUTOCVT ON
_CEE_RUNOPTS ALL31(ON),FILETAG(AUTOCVT,AUTOTAG),POSIX(ON)
_TAG_REDIR_ERR txt
_TAG_REDIR_IN txt
_TAG_REDIR_OUT txt
perl -v
% ?> ?> % ? ?
******************************** BOTTOM OF DATA ******************
I am expecting to see
perl -v
This is perl 5, version 32, subversion 1 (v5.32.1) built for os390
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2021, Larry Wall
MVS (OS390) port by Mortice Kern Systems, 1997-1999
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
Any assistance greatly appreciated.
Regards
Bruce Hewson
------------------------------
Bruce Hewson
Infra Tech Lead Analyst
Citigroup Singapore Ltd
Singapore SG
------------------------------
