Re: ftping a gdg from the z box

2010-06-01 Thread Walter Marguccio
But the approach below has a clear drawback: the programmer has to remember that what has been written to MYUSER.GDG(+1), is later read by the 'put' command referencing MYUSER.GDG(0). Confusing ... Instead, if you code your ftp step as follows: //STP030 EXEC PROC=FTP,TO='windowsserver' //SYSPRINT

Re: ftping a gdg from the z box

2010-06-01 Thread Jan MOEYERSONS
On Thu, 27 May 2010 22:13:57 -0400, larry macioce wrote: >I am sorry if I didnt make myself clear, we are trying to put a gdg to a >windows server. I understand that the way I am trying to transmit the file >in the jcl is failing,but I was wondering if I had some syntax wrong but I >feel Micheal

Re: ftping a gdg from the z box

2010-05-28 Thread Greg Shirey
ey Ben E. Keith Company -Original Message- From: IBM Mainframe Discussion List On Behalf Of David Purdy Sent: Friday, May 28, 2010 10:37 AM To: IBM-MAIN@bama.ua.edu Subject: Re: ftping a gdg from the z box I often placed (+1) GDGs on Win servers for PDFs, accounting data, bank deposit/tr

Re: ftping a gdg from the z box

2010-05-28 Thread David Purdy
: Fri, May 28, 2010 7:09 am Subject: Re: ftping a gdg from the z box we are trying to put a gdg to a windows server. You loss me there. IF the server(mainframe) is putting to Windows, why would you send a new DSN. I could see (-1) or (0) but putting (+1) seems wrong

Re: ftping a gdg from the z box

2010-05-28 Thread Pommier, Rex R.
Subject: Re: ftping a gdg from the z box we are trying to put a gdg to a windows server. You loss me there. IF the server(mainframe) is putting to Windows, why would you send a new DSN. I could see (-1) or (0) but putting (+1) seems wrong. Jack Kelly 202-502-2390 (Office

Re: ftping a gdg from the z box

2010-05-28 Thread John Kelly
we are trying to put a gdg to a windows server. You loss me there. IF the server(mainframe) is putting to Windows, why would you send a new DSN. I could see (-1) or (0) but putting (+1) seems wrong. Jack Kelly 202-502-2390 (Office)

Re: ftping a gdg from the z box

2010-05-28 Thread Ken Porowski
I stand corrected, sorry if I misled anyone. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Porowski, Ken Sent: Thursday, May 27, 2010 5:58 PM To: IBM-MAIN@bama.ua.edu Subject: Re: [IBM-MAIN] ftping a gdg from the z box FTP does not

Re: ftping a gdg from the z box

2010-05-28 Thread David Andrews
On Thu, 2010-05-27 at 17:53 -0400, larry macioce wrote: > we are trying to ftp(put) a gdg using the (+1) notation Try: put //dd:sysut1 destfilename //SYSUT1 DD DSN=YOUR.GDS(+1),DISP=(OLD,PASS) -- David Andrews A. Duda and Sons, Inc. david.andr...@duda.com --

Re: ftping a gdg from the z box

2010-05-28 Thread Lizette Koehler
Is the +1 GDG on the Mainframe or the Windows system? How is the process setup? Are using one step in JCL on the mainframe to create the +1 GDG and then passing that GDG to the FTP step? If so, then Walter's suggestion should work. Lizette > > > I am sorry if I didnt make myself clear, we a

Re: ftping a gdg from the z box

2010-05-28 Thread Walter Marguccio
> I am sorry if I didnt make myself clear, we are trying to put a gdg to a > windows server. you might take advantage of the ftp DD support (or whatever it is called): //FTP EXEC PGM=FTP,PARM='(EXIT' //SYSPRINT DD SYSOUT=* //IN DD DISP=O

Re: ftping a gdg from the z box

2010-05-27 Thread Michael Saraco
sultant 303-838-3374 x115 Cell 507-525-0530 From: larry macioce To: IBM-MAIN@bama.ua.edu Date: 05/27/2010 09:15 PM Subject: Re: ftping a gdg from the z box Sent by:IBM Mainframe Discussion List I am sorry if I didnt make myself clear, we are trying to put a gdg to a wi

Re: ftping a gdg from the z box

2010-05-27 Thread larry macioce
understand the notation of (+1) Thanks to all who responded Mace On Thu, May 27, 2010 at 6:50 PM, Scott Barry wrote: > >From: larry macioce > >To: IBM-MAIN@bama.ua.edu > >Date: 05/27/2010 04:54 PM > >Subject: ftping a gdg from the z box > >Sent by:

Re: ftping a gdg from the z box

2010-05-27 Thread Scott Barry
>From: larry macioce >To: IBM-MAIN@bama.ua.edu >Date: 05/27/2010 04:54 PM >Subject: ftping a gdg from the z box >Sent by:IBM Mainframe Discussion List > > > >we are trying to ftp(put) a gdg using the (+1) notation. The thing fails >everytime w

Re: ftping a gdg from the z box

2010-05-27 Thread Michael Saraco
To: IBM-MAIN@bama.ua.edu Date: 05/27/2010 04:54 PM Subject:ftping a gdg from the z box Sent by:IBM Mainframe Discussion List we are trying to ftp(put) a gdg using the (+1) notation. The thing fails everytime with a eza2253(I think) I can't email from work so I am tryin

Re: ftping a gdg from the z box

2010-05-27 Thread Natarajan Mohan
You will have to access the data set as generation zero on the ftp put step. //FTPSTEP EXEC PGM=FTP,REGION=4096K, // PARM='ftp.server.com (EXIT TI 720' //PTFBIN DD DISP=(NEW,CATLG,DELETE),DSN=GDG.DATASET(+1), . //INPUT DD * anonymous a...@a.com put target-file-name 'GDG.DATASE

Re: ftping a gdg from the z box

2010-05-27 Thread Starr, Alan
t: ftping a gdg from the z box we are trying to ftp(put) a gdg using the (+1) notation. The thing fails everytime with a eza2253(I think) I can't email from work so I am trying to remember the code. I looked the error up and it showed it cant find the dsn we are asking for. We have tried

Re: ftping a gdg from the z box

2010-05-27 Thread Ken Porowski
FTP does not understand GDG's you have to use the fully qualified name -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of larry macioce Sent: Thursday, May 27, 2010 5:54 PM To: IBM-MAIN@bama.ua.edu Subject: [IBM-MAIN] ftping a gdg from

ftping a gdg from the z box

2010-05-27 Thread larry macioce
we are trying to ftp(put) a gdg using the (+1) notation. The thing fails everytime with a eza2253(I think) I can't email from work so I am trying to remember the code. I looked the error up and it showed it cant find the dsn we are asking for. We have tried to tick mark it (ie 'dsn.gdg(+1)' but it