Link to home
Start Free TrialLog in
Avatar of asdf13
asdf13Flag for Germany

asked on

How to do "execute several SST functions" from SST level to OS/400 in sequence.

Hello,

for daily iSeries operations, i need a procedure for executing SST commands in dialog with OS/400:
For preparing a save on a backup partition after ESS flashcopy.
I have to execute several commands form SST in defined sequence, every day the same procedure . . ..

Example:

SIGNON on 0-Partition
STRSST
SST-Options 5 , 2 "Work with partitions"
Select partition with Option 1, POWER ON partition x.
(IPL-D, manual-mode)
Confirm rexpond screens
Confirm Language code screen
Option 1 : install LIC . .
Option 2 : LIC inst. and initailize system
confirm with F10
after about 10 Minutes : confirm , F3
SST screen Option 3: DST menu
SIGNON
CHGPWD
DST Option 4: "WORK WITH DISK UNITS"
Option 2 "WORK WITH DISK UNITS RECOVERY"
Option 16 "RECOVER MIRRORED LOAD SOURCE"
Confirm screen
SST Option 7 : start a service tool
Option 4 : hardware service manager
Option 4 : failed .. hardware resources
Option 4 : (remove all)
go back to DST:  F3 F3
DST: Option 1 "Perform an IPL"

and so on . . . .

How to "automatic" this proceduire, or another way to startup a backup partition after
Flashcopy with ESS sepearte disk-areas,  for executing independed SAVES form production on packup  partition ?

Regards
Robert


 




       

Avatar of Member_2_276102
Member_2_276102

Robert:

You are _not_ asking for something trivial here. SST and LPAR are not the kinds of things normally handled within any program environment. Just responding correctly to possible error conditions is beyond the average AS/400 programmer.

But if you're really serious, you can start reading here:

http://www-03.ibm.com/servers/eserver/iseries/lpar/qyhchcop.htm

Then get to googling for everything you can find with searches such as [lpar sst api]. One example hit:

http://www.mcpressonline.com/mc?1@109.DNcpcwAf9li.0@.6b2a7b59!sectionid=.5bfbaebd

At least one related commercial offering is from Barsa Consulting:

http://www.barsaconsulting.com/aprm.htm

They might take a phone and tell you whether or not they provide any help for what you need.

Tom
Avatar of asdf13

ASKER

Hello Tom,
thanks for your advices.
I would like to reduce the problem, question to :

Necessary is a automatic procedure (program or skript), which responds to SST functions (dialog) wth  predefined Options from  WIN-level .
(The better way,  of course, may be a execution of a Programm, which executes the needed SST functions within SST level ).    
 
Best Regards
Robert
 
ASKER CERTIFIED SOLUTION
Avatar of Member_2_276102
Member_2_276102

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of asdf13

ASKER

Hello Tom,

thank you very much for your detailed discussion and very helpfull advices !

Additiionl  some background information - only for your information, in which context this problem occur :

The attached iSeries Environement are two iSeries, Mod 890 with several partitions, each.
The machines are installed remote ( about 40 km distance) and are using external disks within IBM ESS (SHARK)
The disk-areas  of  2 "pair partitions"  (produktion and "backup") are synchronised about PPRC (HOTBACKUP)
(In case ov disaster of the produktions machine, the backup machine will be started up with HOTBACKUP-disks and produktion switch to this partition)
In normal procedure, once a day, a flashcopoy within the ESS on the backup site, takes plase ( about 30 min)
and produces  consistent data on a additional disk-area, only for daily saves ( 3 TB, about 10 h).
Within this "procedure",  serveral funktions are to execute, some on 0-Partition, other on "Operations Console" of
the backup system. (The Flashcopy procedure itself is a task within ESS mangement)
(One "Scripting" procedure, like CA-macro is alreday in use, but this works not fine in every case.)

Thanks again for your support and
Best Rregards
Robert