[ann]: Python 2.0 for AS/400, beta 3
Per Gummedal
p.g at figu.no
Thu Feb 15 19:04:34 EST 2001
A new update. http://home.no.net/pgummeda
Changes:
- The File400 method, read, has been replaced with the following:
readf, readl, readp, readn, readrrn, readeq, readne, readpe
Some new methods: posf, posl, posb, posa
getRecord now returns a Record400 object.
Use _<fieldname> to access fields in a File or Record.
( print f._CUSNO )
blkrcd=Y is now default when file is opened for reading.
Some bugs has been fixed.
- New module os400 has the following functions.
Program - Returns a Program object. Example of use:
pgm = os400.Program('GETPRICE','*LIBL',(('c',10),('d',5,1)))
pgm.call('TEST1',0))
price = pgm[1]
rtvdtaara - Retrieve data area
chgdtaara - Change data area
Per
More information about the Python-list
mailing list