Sunday, January 01, 2006

How to FTP from a specific interface?

The only way I can see is to add a TCP/IP route, using ADDTCPRTE, that specifies the destination IP address and the preferred binding interface. Of course this would apply to all traffic going to that destination.

Saturday, December 10, 2005

An oops with CHGPGM

"I have learned throughout my life as a composer chiefly through my mistakes and pursuits of false assumptions, not by my exposure to founts of wisdom and knowledge."

- Igor Stravinsky


I was changing some programs in a production library to not use adopted authority. CHGPGM USRPRF(*OWNER) => USRPRF(*USER). Bad timing to do it during the day, though.

"Other jobs running the program may fail if the Optimize program prompt (OPTIMIZE parameter), the Use adopted authority prompt S(USEADPAUT parameter), the Enable performance collection prompt (ENBPFRCOL parameter), the Profiling data prompt (PRFDTA parameter), the User profile prompt (USRPRF parameter), or Licensed Internal Code Options (LICOPT), or enable teraspace storage (TERASPACE parameter) are changed, or program re-creation is forced by specifying FRCCRT(*YES)."

- iSeries Information Center

Oh yes, jobs starting failing - the only recovery was to get users to sign off and sign on again. Won't do that again in a hurry.

Saturday, October 29, 2005

The iSeries is Everywhere

I went to LensCrafters (opticians) today to stock up on the pre-moistened lens wipes. They call them towelettes. They've renamed the brand to... iseries.

Thursday, October 13, 2005

How long does it take to upgrade your OS?

One thing I would really appreciate from IBM: a better way of estimating how long it will take to upgrade from one release to the next. This way (and I'm assuming it would be a pre-release PTF) could make several assumptions including (for example) that we're using an image catalog. It could also be full of disclaimers, too - I'm OK with that.

The estimates for upgrades in IBM's manual are laborious to calculate, and also assume that the licensed programs are being installed in single-threaded mode. Can't we have a better tool?

Thursday, September 29, 2005

V5R3 - Message files are converted when first used:

I've just completed three V5R3 upgrades, and I didn't know of a "POTENTIAL MENU LOCKING PROBLEM AFTER UPGRADING TO V5R3"

See APAR II13978 for details.

Sunday, September 25, 2005

An upgrade to V5R3 - Watch out for Electronic Service Agent

On V5R3 Electronic Service Agent (ESA) is part of the operating system. On V5R2 it was a separate product - 5798RZG. After you upgrade you'll see licensed program 5798RZG is in *ERROR on the Displayed Licensed Program screen. To fix this, don't delete the licensed program, just delete library QSVCDRCTR.

Why? Well, if you do a DLTLICPGM 5798RZG after the upgrade, you'll also delete QSYS/SERVICE and QSYS/SERVICECE menus, and you'll have to restore them from the V5R3 CD's. You'll also need to check the authorities on these objects, and reapply a PTF. [For details see IBM document number 347386763.]

It's best to DLTLICPGM 5798RZG just before you upgrade to V5R3, although I can't find that spelled out in the Memo to Users.

Also, if you intend to use ESA after V5R3, you will want to make sure that the following products are installed:
  • 5722SS1 Option 34 - OS/400 Digital Certificate Manager
  • 5722AC3 *BASE - Cryptographic Access Provider 128 bit
  • 5722JC1 *BASE - IBM Toolbox for Java

If you need to install them, the best time is just before you put on the cumulative PTF's.

Friday, July 01, 2005

How to remove an authorization list from all objects in a library.

The RVKOBJAUT command compels you to specify the authorization list, which is a chore if you don't know the list name.

I first solved this by filling an outfile with the infomation from the DSPOBJAUT command and working through it record by record.

In fact you can do this a lot more tidily in two ways:
  • GRTOBJAUT OBJ( MyLibrary/*All ) OBJTYPE( *ALL ) AUTL( *NONE )

..or...

  • CHGAUT OBJ( ‘QSYS.LIB/MyLibrary.LIB/*.*’ ) AUTL( *NONE )