Doesn’t Filetype=JES try to get JES output from spool?

On Fri, Aug 7, 2020 at 3:15 PM Charles Mills <charl...@mcn.org> wrote:

> I apologize: this is an incomplete question. It is impossible to post
> "everything."
>
> The question: I invoke FTP from a z/OS batch program. The indicated
> statement fails as shown:
>
> EZA1736I Quote Site   FileType=JES NoTrail
>
> EZA1701I >>> Site   FileType=JES NoTrail
>
> 200 SITE command was accepted
>
> EZA1460I Command:
>
> EZA1736I Get     'valid.remote.traditional.dataset.name' //DD:SYS00002
> EZA1685W Invalid local file identifier
>
> EZA1735I Std Return Code = 16000, Error Code = 00018
>
> I looked at the listing in hex: there are no junk characters in there.
> SYS00002 is dynamically allocated to VIO. I am not in a position to prove
> that the allocation is correct, but note that the error is on the "file
> identifier" not on the file characteristics. SYS00002 is definitely
> allocated: I see IGD100I VIO ALLOCATED TO DDNAME SYS00002 DATACLAS (
> ) in the system messages.
>
> FWIW, the following works correctly earlier in the same FTP command stream,
> so basic DD: is not the problem.
>
> Put     //DD:SYS00001 'remote.dataset.name'
>
> There are no intervening LOCSITE subcommands.
>
> The problem seems to have something to do with the batch program's earlier
> processing of z UNIX files. I don't have things diagnosed enough to say "it
> fails if the program does X." It "used to work" so the problem is something
> subtle.
>
> I'm wondering if anyone has seen this before. Perhaps "oh yeah, you have to
> Y if you do X, otherwise you get that." I have tried with and without
> setting a DUB default of 1 before the FTP.
>
> The GET subcommand frankly just outright seems correct on its face.
>
> Thanks, and again, apologies that all of the *possibly* relevant detail is
> way too voluminous to include. If anyone has a "what about X?" question I
> will try to answer it.
>
> Charles
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
-- 
Michael Babcock
OneMain Financial
z/OS Systems Programmer, Lead

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to