can i use UPDDTA command in rpg program in which contains a file



can i use UPDDTA command in rpg program in which contains a file..

Answer / sravan

Using QCMDEXC you can use any command line commands in your rpgle programs.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More RPG400 Interview Questions

How to call one program from another program in RPG? please help me with the code

0 Answers   HCL,


What is difference between bind by copy and bind by reference?

0 Answers  


what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code

2 Answers   IBM,


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

0 Answers  


In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?

1 Answers  






1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?

8 Answers   HCL,


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,


Can we possible to key with the date field?

1 Answers   IBM,


What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?

2 Answers   CGI, Wipro,


what is the use of sflnxtchg?

0 Answers   IBM,


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,


1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF

5 Answers   CTS,


Categories