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

What are the necessary keywords required to code a message subfile?

3 Answers  


I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this

3 Answers   ISG,


wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


we are sending data of physical file to screen design and it is showing no record why?

1 Answers   NTT Data,


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

2 Answers  






How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?

6 Answers   CSC,


what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?

2 Answers   TCS,


How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


3 members in a databasefile .how to read records from all the members?????????

4 Answers   CTS,


list down and describe the sub systems vailable

5 Answers   IBM,


Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.

2 Answers  


Categories