suppose if we want to update the data in cl what we will do?

Answers were Sorted based on User's Feedback



suppose if we want to update the data in cl what we will do?..

Answer / shanky

We can update records in CL program but its only possible
through SQL statement in CL

In STRQMQRY command we can write SQL statement at SETVAR(
Update &FILE set FILED=' ' where &FILED='Key Value'


........There are many PDFs on google from where u can get
ready programs....................

Is This Answer Correct ?    7 Yes 0 No

suppose if we want to update the data in cl what we will do?..

Answer / chandu

Use RUNSQLSTM to update data in CL.

Is This Answer Correct ?    8 Yes 1 No

suppose if we want to update the data in cl what we will do?..

Answer / ali

we can updateby executing SQL update statements in CL

Is This Answer Correct ?    6 Yes 0 No

suppose if we want to update the data in cl what we will do?..

Answer / afnas

Suppose want to update data in cl pgm perform SQL or call
RPG program , update the data using RPgG pgm then return
the value

Is This Answer Correct ?    4 Yes 0 No

suppose if we want to update the data in cl what we will do?..

Answer / chitta

we cannot update data through cl

Is This Answer Correct ?    4 Yes 2 No

suppose if we want to update the data in cl what we will do?..

Answer / shashank jain

We all know that in CL we can execute command line commands
so simply
write
''UPDDTA filename ""

in cl program and you can update your pf.

Is This Answer Correct ?    1 Yes 1 No

suppose if we want to update the data in cl what we will do?..

Answer / surya siram

Normally we cannot update the data in physical file by using CL program, But by using RUNSQLSTM or RUNSQL commands we can run the sequel to update the data in physical files.

But we can update the data in display file using SNDRCV command

Is This Answer Correct ?    0 Yes 0 No

suppose if we want to update the data in cl what we will do?..

Answer / suri

UPDATE IS NOT POSSIBLE IN CL.

Is This Answer Correct ?    3 Yes 4 No

suppose if we want to update the data in cl what we will do?..

Answer / jhansi sundar

We can update the records in cl by using upddata.........

Is This Answer Correct ?    5 Yes 8 No

Post New Answer

More RPG400 Interview Questions

Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?

6 Answers   CSC,


What are different ways to pass data between programs and which one is the efficient way?

5 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 to find d key field of a pf that doesn’t have source physical file?

2 Answers  


Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks

3 Answers  






Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.

7 Answers  


Hi guys. Im in AS/400(RPGLE,CLP) from last 1 year.Now i wan to upgrade my Knowledge in AS/400. Suggest me some new fields & courses which falls under AS/400. Waiting for your quick Response.

1 Answers   Voltech,


what is flat file?

1 Answers   IBM,


am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me

1 Answers  


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

0 Answers  


there is any limit to display the members in rpg400?

3 Answers  


Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...

4 Answers  


Categories