To find the CHPID for a device use the display command: D M=DEV(xxxx) IEE174I 09.51.34 DISPLAY M 470 DEVICE 0B02 STATUS=OFFLINE CHP C0 PATH ONLINE Y CHP PHYSICALLY ONLINE Y PATH OPERATIONAL N PATHS NOT VALIDATED
2012年12月30日 星期日
Finding the CHPID for a device
Reconfiguring CHPIDs for devices
If you have reconfigurable devices (non-shared) and you want to move
them from one system to another:
1) Find the devices on the CHPID:
D M=CHP(xx)
IEE174I 09.30.51 DISPLAY M 163
CHPID C0: TYPE=12, DESC=OPEN SYSTEMS ADAPTER
DEVICE STATUS FOR CHANNEL PATH C0
0 1 2 3 4 5 6 7 8 9 A B C D E F
0B0 + $@ $@ $@ $@ $@ . . . . . . . . . .
0BF . . . . . . . . . . . . . . + .
************************ SYMBOL EXPLANATIONS ************************
+ ONLINE @ PATH NOT VALIDATED - OFFLINE . DOES NOT EXIST
* PHYSICALLY ONLINE $ PATH NOT OPERATIONAL
2) Vary the devices offline:
V xxxx-yyyy,OFFLINE
3) Configure the CHPID offline:
CF CHP(xx),OFFLINE
4) On the other system, configure the CHPID online:
CF CHP(xx),ONLINE
5) Vary the devices online:
V xxxx-yyyy,ONLINE
2012年12月12日 星期三
Dynamic create UIWebView
CGRect webFrame = CGRectMake(0.0, 0.0, 400.0, 460.0); UIWebView *webView = [[UIWebView alloc] initWithFrame:webFrame]; [webView setBackgroundColor:[UIColor greenColor]]; webView.scalesPageToFit = YES; // setting scales page to fit NSString* htmlString = [NSString stringWithContentsOfFile:finalPath encoding:NSUTF8StringEncoding error:nil]; [webView loadHTMLString:htmlString baseURL:nil]; [self.view addSubview:webView];
訂閱:
意見 (Atom)