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 are the commands that can be executed in CLP but not in RPG? Why?
I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel
1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
How to call one program from another program in RPG? please help me with the code
How can we read a particular record from the database file which is not having DDS (Flat File). For example, there are 100 records in the flat file. How can we retrive 15th record in RPG/400 program (Without using CL)
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?
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
what is *place and *auto keyword in prtf ?plz explain