RPG Data Fields Questions

1

Synon (Migration)
Dear Friends, We are in a plan of migrating system to some other technology like Java/.NET etc. Please find the details and questions below. Information about the current System: Synon (CA -2E) 8.5 Version Few modules the source is getting generated in COBOL and other in RPG Database we using DB2/400 Questions: What all should [...]

Answer Question   |  March 17, 2012  6:55 AM
AS/400 DB2, AS/400 Synon, RPG Data Fields
asked by:
20 pts.

RPG date retrieval
how to retrive the next 7th date of current month using rpg? EX: today’s date is 06/09/2011 i want to get the date 13/09/2011, how it’s possible?

Answer Question   |  March 31, 2012  10:59 AM
Retrieve Data Area, RPG, RPG Data Fields
asked by:
1,350 pts.

packed & zoned both are used for numeric data types in rpg but if packed occupies 1 byte and zoned occupied 2 bytes then why don’t we use packed?
packed & zoned both are used for numeric data types in rpg/400 but if packed occupies 1 byte and zoned occupies 2 bytes then why don’t we use packed always considering system storage capacity?

Answer Question   |  February 8, 2011  5:34 PM
AS/400, RPG Data Fields, RPG/400, Storage capacity planning
asked by:
6r
940 pts.

whats are the contents of a databse fields after the record is written
I have a field in a file eg. NewQueue. Once I write or update a record in the file that has field NewQueue, are the contents of that field still available for evaluation?

Answer Question   |  May 22, 2009  7:04 PM
AS/400 database, RPG, RPG Data Fields
asked by:
20 pts.

Trim Data on field in RPG
Hi I am writing a program to FTP the data from our system to another service provider. I have created one field length of 680 In my RPG program I have a data structure combine about 63 fields into one field. The problem i am having is that when a field is let’s say 20 [...]

Answer Question   |  May 19, 2009  12:49 PM
RPG, RPG Data Fields, RPG debugging
asked by:
365 pts.

1