Page 1 of 1

Transfer File from mainframes to NAS

PostPosted: Wed Dec 14, 2011 1:21 pm
by gn065p
Hi,

I want to transfer a file data from mianframes to NAS in text format.

I just want to check weather the below jcl transfer the data in wich format.

SET P='/var/opt/na/descriptores/qyind1nd00_ssrr/'
STEP1 EXEC PGM=ICEGENER
SYSPRINT DD SYSOUT=*
SYSUT1 DD DSN=PR.TEST.RS375745,
DISP=SHR
SYSUT2 DD BLKSIZE=00000,
FILEDATA=TEXT,
LRECL=80,
PATH='&P.copy1.txt',
PATHDISP=(KEEP,DELETE),
PATHDISP=MOD,
PATHMODE=(SIRWXU,SIRWXG,SIRWXO),
PATHOPTS=(ORDWR,OCREAT,OTRUNC),

can any one please help me out.

Re: Transfer File from mainframes to NAS

PostPosted: Wed Dec 14, 2011 2:49 pm
by gn065p
Q) how can we give a file in sysut2(output) ?

Re: Transfer File from mainframes to NAS

PostPosted: Wed Dec 14, 2011 5:28 pm
by Robert Sample
What you are asking is a question that cannot be answered by anyone not working AT YOUR SITE. The JCL you have will place a file on the Unix System Services (USS) file system -- but that typically will be on the mainframe, NOT on a network device. However, your site may have set up SMB to allow PCs on your network to access the mainframe USS files. If so, and the directory you are placing the file in is part of SMB, then the (very qualified) answer to your question would be "yes". However, since those of us on this forum don't work at your site, we have no idea if your site is using SMB (or any other method of sharing mainframe disks and files), we have no idea if you have specified the right directory even if your site is using SMB, and so our answer must be ... "consult your site support group".