Example: The steps to delete QSAMPLE library
××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××
1# Use the Work with System Value (WRKSYSVAL) command to remove QSAMPLE from the system value(QUSERLIBL or QSYSLIBL) it is contained in. (The changed system value does not affect the library list of any jobs running.)
1. Enter WRKSYSVAL QUSRLIBL at the i5/OS command line.
2. Press Enter and select option number 2.
3. Remove the QSAMPLE library from the list.
2# Use the Remove Library List Entry (RMVLIBLE) command to remove QSAMPLE from the job's library list.
1. Enter RMVLIBLE QSAMPLE at the i5/OS command line.
3# Use the Work with Object Lock (WRKOBJLCK) command to remove locks on QSAMPLE library if any.
1. Enter WRKOBJLCK OBJ(QSYS/QSAMPLE) OBJTYPE(*LIB) at the i5/OS command line.
2. Remove object locks on QSAMPLE library.
4# Use the Delete Library (DLTLIB) command to delete the library and the objects in the library.
1. Enter DLTLIB QSAMPLE at the i5/OS command line.
××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××
The information are mainly refered from IBM infocenter for iSeries.
1、修改/etc/default/locale, 改為:
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
2、sudo reboot
3、locale
顯示環境變量已經全部是英文
如果想 Ubuntu 在每次啟動到 command prompt ,可以輸入以下指令:
$echo “false” | sudo tee /etc/X11/default-display-manager
當下次開機時,就會以指令模式啟動,如果想變回啟動 x window,可以輸入:
$echo “/usr/sbin/gdm” | sudo tee /etc/X11/default-display-manager
P.S. 如果不是用 gdm 作為,以上指令需要根據你的環境作出更改,例如 kdm 或 xdm。
上述程式已在Ubuntu 9.04親測。
編輯工程的.project文件:
添加
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
到
<natures>
…
</natures>
eg.
例如將
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
更改為:
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
應用python的pickle模塊從序列化文件中構造對象,根據對象的構造解開謎題
詳細描述 :
http://www.pythonchallenge.com/pc/def/peak.html
(peak hell連讀發音類似pickle,謎題就是pickle模塊的應用了)
解決方案代碼:
輸出的對象構造:
在網上找了很久才找到developerWorks上的一個解決方案:
在命令提示符里切換到目錄“C:\Program Files\IBM\SDP70\jdk\jre\bin”,運行“java.exe -Xshareclasses:destroyAll”
這樣就能正常啟動RAD了!
原因描述如下:
(摘錄自http://www-1.ibm.com/support/docview.wss?uid=swg21281393,并通過Google Translate轉譯,譯文已作修改)
×××××××××××××××××××××××××××××××××××××
問題(摘要)
此說明解釋如何解決錯誤“JVM的終止。退出代碼= 1”。
起因
RAD自帶的IBM JVM使用了一個高速緩存參數來提高性能。而因為JVM的崩潰,比如藍屏,或斷電,都可能造成Java高速緩存被損壞。 而JVM會拒絕連接到一個損壞的高速緩存。
解決問題
要解決這個問題,使用“-Xshareclasses:destroyAll”的Java選項將銷毀所有的共享級緩存。這是一種實用工具選項,所以不會啟動JVM 。如果您想要這么做,只要從命令提示符使用參數“-Xshareclasses:destroyAll”來運行RAD使用的java。
××××××××××××××××××××××××××××××××××××××