Wednesday, October 24, 2007

Increase the connection time of FTP connection

By default, FTP automatically disconnects after five minutes of inactivity. The following command increases the time. Once you made a FTP connection type the following command.

Quote time 1000 (This increases idle time to 1000 seconds)

Likewise specify required time.

Thursday, October 18, 2007

Define data areas in ILE RPG programs

As a good programming practice, define data areas in the D spec. First you have to define a data structure or a variable which has equal length to the data area.



Define the data area in D spec



Use the data area in free format

Cl_run = *blanks;
In *lock *dtaara;
Cl_run = Lastrun;