What will be the value of STRING after line 0106 is
executed in the code below?
0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda
0102 E ARR 8 1
0103 ISTRING DS
0104 I 1 8 ARR
0105 C MOVE *BLANK STRING
0106 C MOVEA'ABC' ARR
A) 'AAAAAAAA'
B) 'BBBBBBBB'
C) 'CCCCCCCC'
D) 'ABC '
E) ' ABC'
Answers were Sorted based on User's Feedback
Answer / samul paul
Answer would be :-
ARR(1) = 'A'
ARR(2) = 'B'
ARR(3) = 'C'
ARR(4) = ' '
ARR(5) = ' '
ARR(6) = ' '
ARR(7) = ' '
ARR(8) = ' '
Is This Answer Correct ? | 3 Yes | 1 No |
WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?
Delete FileName at first statement in RPG.
can you debug ile rpg program using isdb?
WHAT IS MEANT BY SIGNATURE VAILOTION ERROR
How do you call procedures in ILE?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
i want to retrieve record b/w 2 dates in as400
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
What are the necessary keywords required to code a message subfile?
what is the difference between SETON RT & RETURN?
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic