AS400 - RPGLE inertview questions
download
RPGLE interview questions
Wednesday, December 1, 2010
Tuesday, November 30, 2010
set up WIFI in Ubuntu ( Wireless World)
Happy to share you that I managed to set up WIFI in my laptop. steps followed below
1.) disable atheros hardware access layer (System > Administration > Hardware Drivers)
2.) sudo reboot
3.) wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
if you are not getting this link try with below command:
sudo svn co https://svn.madwifi-project.org/madwifi/trunk
4.) tar -xvf madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
5.) cd madwifi-hal-0.10.5.6-r3861-20080903
6.) sudo make install
7.) sudo modprobe ath_pci
8.) sudo nano /etc/modules and append ‘ath_pci’
9.) sudo reboot
Happy WIFI surfing
reference:
http://www.ubuntugeek.com/atheros-ar5007-wireless-with-madwifi-on-ubuntu-804-hardy-heron.html
http://www.pcmech.com/article/how-to-quick-wireless-setup-with-ubuntu-804/
1.) disable atheros hardware access layer (System > Administration > Hardware Drivers)
2.) sudo reboot
3.) wget http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
if you are not getting this link try with below command:
sudo svn co https://svn.madwifi-project.org/madwifi/trunk
4.) tar -xvf madwifi-hal-0.10.5.6-r3861-20080903.tar.gz
5.) cd madwifi-hal-0.10.5.6-r3861-20080903
6.) sudo make install
7.) sudo modprobe ath_pci
8.) sudo nano /etc/modules and append ‘ath_pci’
9.) sudo reboot
Happy WIFI surfing
reference:
http://www.ubuntugeek.com/atheros-ar5007-wireless-with-madwifi-on-ubuntu-804-hardy-heron.html
http://www.pcmech.com/article/how-to-quick-wireless-setup-with-ubuntu-804/
Wednesday, November 24, 2010
Subfile programs and Docs
1. docoments for Subfiles
subfile doc basics and simple programs
2. Subfile Keywords:
Subfile Keywords
3. Subfile Programs
Subfile Programs
4. subfiles detailed document
subfile
subfile doc basics and simple programs
2. Subfile Keywords:
Subfile Keywords
3. Subfile Programs
Subfile Programs
4. subfiles detailed document
subfile
Wednesday, June 2, 2010
Saturday, May 8, 2010
searching for as400 scope
Today I was just searching through the AS400 best sites .Then I got a blogspot which explains different perspective of OS400 ..
http://as400blog.blogspot.com/search/label/history
http://as400blog.blogspot.com/search/label/history
Wednesday, March 3, 2010
Procedures within an ILE RPG program
procedure within RPGLE program,
Something more am trying to know about procedure,subprocedure,service program. While googling sample programs and I created one procedure in program. Iam not sure about the the other concepts now. Let me hack it later.
these procedures can be used like built-in functions:-)
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c092508410.htm
steps for creation:
(1)
A Prototype which specifies the name, return value if any, and parameters if any.
(2)
A Begin-Procedure specification (B in position 24 of a procedure specification)
(3)
A Procedure-Interface definition, which specifies the return value and parameters, if any. The procedure interface must match the corresponding prototype. The procedure-interface definition is optional if the subprocedure does not return a value and does not have any parameters that are passed to it.
(4)
Other definition specifications of variables, constants and prototypes needed by the subprocedure. These definitions are local definitions.
(5)
Any calculation specifications, standard or free-form, needed to perform the task of the procedure. The calculations may refer to both local and global definitions. Any subroutines included within the subprocedure are local. They cannot be used outside of the subprocedure. If the subprocedure returns a value, then the subprocedure must contain a RETURN operation.
(6)
An End-Procedure specification (E in position 24 of a procedure specification)
See sample program:

Rest of the code highlighted:

But default activation group(DFTACTGRP) as 'YES' throwing error while compiling, this can solveed giving as option 'NO'
not sure the reason for this ( need to investigate)
Activation group . . . . . . . . ACTGRP QILE

OUTPUT

See little about free format.... we can write direct statements separated by semicolon in between /free ...and /end-free
Please refer :
Code400.com
Something more am trying to know about procedure,subprocedure,service program. While googling sample programs and I created one procedure in program. Iam not sure about the the other concepts now. Let me hack it later.
these procedures can be used like built-in functions:-)
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c092508410.htm
steps for creation:
(1)
A Prototype which specifies the name, return value if any, and parameters if any.
(2)
A Begin-Procedure specification (B in position 24 of a procedure specification)
(3)
A Procedure-Interface definition, which specifies the return value and parameters, if any. The procedure interface must match the corresponding prototype. The procedure-interface definition is optional if the subprocedure does not return a value and does not have any parameters that are passed to it.
(4)
Other definition specifications of variables, constants and prototypes needed by the subprocedure. These definitions are local definitions.
(5)
Any calculation specifications, standard or free-form, needed to perform the task of the procedure. The calculations may refer to both local and global definitions. Any subroutines included within the subprocedure are local. They cannot be used outside of the subprocedure. If the subprocedure returns a value, then the subprocedure must contain a RETURN operation.
(6)
An End-Procedure specification (E in position 24 of a procedure specification)
See sample program:
Rest of the code highlighted:

But default activation group(DFTACTGRP) as 'YES' throwing error while compiling, this can solveed giving as option 'NO'
not sure the reason for this ( need to investigate)
Activation group . . . . . . . . ACTGRP QILE

OUTPUT

See little about free format.... we can write direct statements separated by semicolon in between /free ...and /end-free
Please refer :
Code400.com

