×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




There's an IBM page in KnowledgeCenter that says to use OVRSCOPE(*CALLLVL) if using an ILECL program - I'm just inclined to use OVRSCOPE(*JOB) for a lot of this kind of thing - that's the old behavior before activation groups, as I recall.

Cheers
Vern

On 2/18/2015 11:06 AM, CRPence wrote:
On 18-Feb-2015 10:15 -0600, Thomas Burrows wrote:
Trying to do a BATCH FTP and something is not working.

CLRPFM FILE(SAW_FTP_O)
CALL PGM(SAW_FTP)
OVRDBF FILE(INPUT) TOFILE(SAW_FTP_F) MBR(SAW_FTP_F)
OVRDBF FILE(OUTPUT) TOFILE(SAW_FTP_O) MBR(SAW_FTP_O)
FTP RMTSYS(THOFS001)
DLTOVR FILE(*ALL)

<<SNIP>>

Running the above CL commands in DEBUG all I get is

<<SNIP indication that an interactive FTP session opened>>

Appears that my file of FTP commands "SAW_FTP_F" <<SNIP the list of
FTP subcommands>> is not being picked up.

If it matters the FTP commands in SAW_FTP_F are being generated by a
RPG program I wrote. Thus the SAW_FTP_F is not a TEXT file. But a
straight PF that has one field name that is an alpha 80.

Could this be a problem.


Were the noted CL commands being issued interactively or were they compiled in a program? If compiled, then how? Notably, ILE or OPM, and if ILE what is the activation group? Notably missing from the Override requests is the _Scope_ for which they should apply; that the override to OUTPUT seems to have no effect implies the override likely had no effect, which often means that the override was improperly scoped.



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.