Transfer File from mainframes to NAS



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Transfer File from mainframes to NAS

Postby gn065p » Wed Dec 14, 2011 1:21 pm

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.
gn065p
 
Posts: 2
Joined: Wed Dec 14, 2011 12:47 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Transfer File from mainframes to NAS

Postby gn065p » Wed Dec 14, 2011 2:49 pm

Q) how can we give a file in sysut2(output) ?
gn065p
 
Posts: 2
Joined: Wed Dec 14, 2011 12:47 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Transfer File from mainframes to NAS

Postby Robert Sample » Wed Dec 14, 2011 5:28 pm

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".
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post