Hello,
from the following programming:
----------------------------------------------------------------------------
---
#!/usr/local/bin/perl
use OS390::Stdio qw(get_dcb getname pds_mem sysdsnr mvsopen mvswrite flush
forwa
rd rewind resetpos remove tmpnam vsamdelrec vsamlocate vsamupdate
dsname_level v
ol_ser dynalloc dynfree svc99 );
#OS390::Stdio::mvsopen(IN,'//KT0574.PR.CNTL(ALIAS)');
$fh = mvsopen("//KT0574.PR.CNTL(ALIAS)","r");
print "name=$fh end\n";
$name = getname($fh);
$line = <$fh>;
print "line=$line";
----------------------------------------------------------------------------
-----
the error occurs:
----------------------------------------------------------------------------
-----
KT0574:/u/user/kt0574/user:>readmvs.pl
name= end
Can't use an undefined value as filehandle reference at ./readmvs.pl line 6.
KT0574:/u/user/kt0574/user:>
----------------------------------------------------------------------------
-----
Is something wrong? why not is the name empty?
Thanks in advance
Sun-----Urspr�ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 16:01 An: Sun Biao Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: AW: perl install on OS/390 It looks like you had already installed OS390::Stdio version 0.003 into a statically linked perl 5.6.1. In order to upgrade modules you should probably start by rebuilding perl from scratch (this is a big disadvantage of static linking unfortunately). Peter Prymmer Sun Biao <biao.sun@itelli To: "'Peter Prymmer'" <[EMAIL PROTECTED]> um.com> cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> 01/21/2003 09:42 Subject: AW: perl install on OS/390 AM Hello, thanks for your help. We have reinstalled the modules and got by test the following message: KT0574:/u/user/kt0574/user:>readmvs.pl OS390::Stdio object version 0.003 does not match bootstrap parameter 0.008 at /u sr/local/lib/perl5/site_perl/5.6.1/os390/OS390/Stdio.pm line 130. Compilation failed in require at ./readmvs.pl line 2. BEGIN failed--compilation aborted at ./readmvs.pl line 2. Could you tell us from where and which version the perl and it's OS390 stdio and LWP modules should be downloaded, so that they can work together. Thanks in advance Sun -----Urspr�ngliche Nachricht----- Von: Peter Prymmer [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 21. Januar 2003 13:14 An: Sun Biao Cc: '[EMAIL PROTECTED]' Betreff: Re: perl install on OS/390 Diese Nachricht enth�lt Zeichen, die vom Internet-Dienst nicht unterst�tzt werden. Zum Lesen doppelklicken Sie auf die beigef�gte Anlage. Falls der Text inkorrekt angezeigt wird, speichern Sie die Anlage (Datei, Speichern unter) auf der Festplatte und �ffnen Sie sie mit einem Programm, das die Zeichen darstellen kann.
