Hi,while writing a program, what is the mandatory
specification using rpg/400 (in7 specification)?And please
tell me what is the difference between SCAN AND CHECK
opcodes?can any body tell me in real time senario?with
example?
Answer Posted / t thomas
%check validates a string character by character to a
particular set of characters and gives 0 if that character
in the string is not present in our set else give the
position.
%scan checks in a string whethere a string or character is
present in another string and also gives the start position.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
an access path may be in which sequence?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
can you specify a display file to be used in the following modes input,output, or combined modes ?
what is the disadvantage of using global variable?
what is arrival sequence?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
WHAT IS FERERENTIAL INTRIGRITY ?
What Is The Object Type Of Pf, Lf, Printer File & Display File?
what is full form for dds?
when would you prefer logical file than opnqryf?
which are the query selection criteria, which can be given in a query?
can we define multi-dimensional arrays in rpg ?
what is *iso date format?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?