Creation date:10/24/1999
Authored by: Karl Ho
Question:
How to download files from MVS?
Answer:
The IEBGENER procedure can help you to transfer files on MVS
disks to CMS. The following IEBGENER program illustrates how to
download an SPSS portable file from MVS disk to J2:
//IDNNJOB1 JOB
(IDNN,2,999),NAME,CLASS=J,PASSWORD=XXXXXX,USER=IDNN
/*ROUTE PUNCH UNTVM1.IDNN
// EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=(A,,LP2X)
//SYSIN DD DUMMY
//SYSUT1 DD
DSN=USER.IDNN.FILENAME.PORTABLE,VOL=SER=ACAD0N,UNIT=SYSDA,
// DISP=(OLD,KEEP)
//SYSUT2 DD SYSOUT=A
/*
Note that this program downloads files to J2. You should receive the file from J2 to a temp disk before downloading it to local disk drive using FTP or TCP3270 (For more details on transferring files from CMS to local drives, see RSS0006. How to transfer files from CMS?).
Last updated: 01/18/06 by Karl Ho