i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?



i have 6 char field in program, but this field is using in all files i want to chage field size as 1..

Answer / surya

we can change the files name like....filename_1

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

How to search particular records from the database file in rpg?

1 Answers  


I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)

3 Answers   Opus,


in rpg could u please tell me errors types and meanings like 3030 that ....

1 Answers   EXL, UHG,


Need a sql query: retrieve all duplicate records in table?

1 Answers  


Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?

3 Answers  






What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52

2 Answers   Fiserv, IBM,


how can we know running job is batch or intractive ? i need all the possibilites.........plz help me

3 Answers   HSBC, IBM,


1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?

1 Answers   CSC,


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding

4 Answers   Infinite Computer Solutions,


what is the necessary command needed before OPNQRYF and why?

5 Answers  


can anyone say,what is the use of operation extended H/N/P?

2 Answers  


Categories