× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I think it does care about limit capability now.

DSPCMD CMD(DSPJOB)

Allow limited user . . . . . . . . . . : *YES

--
Sean Porterfield

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Thursday, September 15, 2011 16:30
To: Midrange Systems Technical Discussion
Subject: Re: howto Clear msgq using ftp rcmd ?

Bob,

Hate to say it but integration is there. The days of relying upon 5250 menu security were gone over 20 years ago.

ftp supports the following:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\ROB>ftp gdisys Connected to gdisys.dekko-1.
220-QTCP at GDISYS.
220 Connection will close if idle more than 5 minutes.
User (gdisys.dekko-1:(none)): xxxdeletedxxx
331 Enter password.
Password:
230 xxxdeletedxxx logged on.
ftp> quote rcmd dspjob output(*print)
250 Command dspjob output(*print) successful.

ftp doesn't even care if the person has "limited capability".
on the i:
crtusrprf dummy lmtcpb(*yes)
User profile DUMMY created.
on the pc:
C:\Documents and Settings\ROB>ftp gdisys Connected to gdisys.dekko-1.
220-QTCP at GDISYS.
220 Connection will close if idle more than 5 minutes.
User (gdisys.dekko-1:(none)): dummy
331 Enter password.
Password:
230 DUMMY logged on.
ftp> quote rcmd dspjob output(*print)
250 Command dspjob output(*print) successful.
on the i:
wrksplf dummy
File User
QPDSPJOB DUMMY

To secure that you would use an ftp exit point program. I've rolled my own.
http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/apis/comm8.htm

From that same PC command line I can also do this:
rmtcmd dspjob output(*print) //gdisys
and that will send a command to my GDISYS lpar This is a different exit point. You can continue to roll your own or buy a package to address everything you see at WRKREGINF

Interesting way to restart QINTER if your backup killed it. Been there, done that.



Rob Berendt
--
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: "Bob P. Roche" <BRoche@xxxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 09/15/2011 02:56 PM
Subject: Re: howto Clear msgq using ftp rcmd ?
Sent by: midrange-l-bounces@xxxxxxxxxxxx



I don't think you can issue system commands from an ftp script. Think of
the damage that could cause.




From:
jerome.domont@xxxxxx
To:
midrange-l@xxxxxxxxxxxx
Date:
09/15/2011 01:35 PM
Subject:
howto Clear msgq using ftp rcmd ?
Sent by:
midrange-l-bounces@xxxxxxxxxxxx



Hello ,

I'm trying to clear msgq using ftp rcmd in a bash script but i always get
CPF2357 message.

i tried to call a CL containing with my bash script >> it failed
i tried to call clrmsgq directly from bash script and it also failed

Has anyone an idea about this ?
--

This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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.