how to change the length of the field in a physicalfile?
Answers were Sorted based on User's Feedback
Answer / mind
first open the source and change the field length or add
field then save and exit. now using chgpf command we can do
this without compiling again. if we increase the length
it's o.k. but if we decresed the length warning message
appear like data may be lost. in this case we can't
decresed length.
Is This Answer Correct ? | 2 Yes | 4 No |
Answer / prima krishnan
By using the CHGPF command,we can change the length of a
field in a physical file....
Is This Answer Correct ? | 2 Yes | 6 No |
3 members in a databasefile .how to read records from all the members?????????
How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
ESCAPE message sent by child program can be handled by parent program using which keyword?
i'm working on progA , in that program i want to see the userids of the users who work on this program?
What is the difference between iter and do?
IN RLU what are the record level keyword is used?
can I touch the array during treatments?
I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.
Explain mdt?