Karl,
Take a look at OS390::Stdio on CPAN.  This will do what you describe.
Regards,
Sandy

-----Original Message-----
From: Yaroslav Kuzmin [mailto:[email protected]] 
Sent: Friday, April 11, 2014 4:14 AM
To: [email protected]; [email protected]; Perl5 Porters
Subject: RE: work with dataset

 Hi Karl,

Perl does not know how to work with MVS dataset . it can only work files. 
Of course you can work with MVS dataset, using system commands TSO/E in perl . 
Or create a module Perl. 

------------------------------------------------------------------------
 Yaroslav Kuzmin
Developer C/C++ ,z/OS , Linux
3 Zhukovskiy Street * Miass, Chelyabinsk region 456318 * Russia
Tel:  +7.922.2.38.33.38
Email: [email protected]
Web: www.rocketsoftware.com

________________________________________
From: [email protected] <[email protected]>
Sent: 10 April 2014 19:32
To: Yaroslav Kuzmin; [email protected]; Perl5 Porters
Subject: Re: work with dataset

Hi Yaroslav,

I would like to access MVS files in batch JCL with Perl.  I do not
know what the most appropriate way would be.  Some how there would be
a way to point to the label of a Data Definition statement.  For
example FILE1.

//FILE1 DD DSN=MY.FILE1.

You maybe aware that z/OS OMVS shell supports this syntax for MVS files

"//'MY.FILE1'" to point to MVS file MY.FILE1.

Here is an example.

cp "//'MY.FILE1'" FILE1

will copy MVS file MY.FILE1 to hfs ./FILE1

Karl

On 04/10/2014 03:58 AM, Yaroslav Kuzmin wrote:
>
> Hi,
>
> There is a module for working with MVS dataset ?
>
> If not . need a module ?
>
> ------------------------------------------------------------------------
>
>
Yaroslav Kuzmin
> Developer C/C++ ,z/OS , Linux 3 Zhukovskiy Street * Miass,
> Chelyabinsk region 456318 * Russia Tel:  +7.922.2.38.33.38 Email:
> [email protected] Web: www.rocketsoftware.com

--
Karl Nordstrom
Storage Systems Group
Information Technology Services
The Pennsylvania State University
(814) 863-1936

Reply via email to