Re: Where do I start?

yvette hirth <yvette-RPrnXxQTqyxWk0Htik3J/[email protected]>
Newsgroups gmane.comp.emulators.turnkey-mvs
Organization The DBT Group, Inc.
Message-ID <[email protected]>
Rick Fochtman wrote:

>  -------------------------------<snip>-------------------------
>  How do I get it out without displaying a page and cutting and pasting 
> it from the terminal?
> -------------------------------<unsnip>----------------------
> Typically, the system card punch is device 00D and SYSOUT class B. Use 
> the Hercules DEVINIT command to point device 00D to a txt file and any 
> MVS utility, like IEBGENER, to "punch" the file. From the operator 
> console, use JES2 command "$tpun1,class=b", followed by "$spun1". After 
> use terminate your Hercules session, the txt file should contain the 
> source code, or whatever else you sent to SYSOUT=B.
> 
> You can use the same mechanism to send a listing, by using device 00E 
> and JES unit PRT1.

if this is a learning-curve type exercise for MVS, then please ignore 
what follows.

if you're trying to get data out of a PDS, there's also a command prompt 
utility that will read PDSs (they have to be offline iirc) and will 
unload in IEBUPDTE format to a file:

http://www.hercules-390.org/hercload.html#utilities

try DASDPDSU.  you can specify output in EBCDIC or ASCII.

then stick an IEBUPDTE ./ ADD NAME= in front of it, and Robert is your 
Father's Brother.

hth
yvette hirth
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.