this is rpg3 code
W0RTN IFEQ @CN,002
what is the means @CN,002
Answer / pascal
@CN is an array and @CN,002 represents the 2nd element of
that array
| Is This Answer Correct ? | 3 Yes | 0 No |
1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E
3 members in a databasefile .how to read records from all the members?????????
What is the purpose of FRCDTA keyword?
why subproc not run in dftactgrp?????/plz explain
can we use cl programming to update or delete physical files
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
what is the necessary keyword needed to scroll subfile records?