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 |
A particular job executing on the iS is not behaving as expected and is operating in an environment in which it can be debugged. What commands would you use to debug and observe the program?
How Commitment and Roll back control is used in as400, explain with real time senario ???
what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?
what is estimation? and what is the level identifier parameter in PF?
what are the key words you must use when using a subfile?
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any
How to search particular records from the database file in rpg?
1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS
How do you do indexing in a physical file?
Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...
1.what are the ARITHMETIC EXPRESSIONS IN CL PGM? 2.How to PASSING PARAMETER TO CL PGM?