Can any body give the code for this quesition?
Using the following details write C-Spec code to set Name
to"AMMU LABS SYSTEM"
D NAME1 S 10 INZ('AMMU')
D NAME2 S 10 INZ('LABS')
D NAME3 S 10 INZ('SYSTEM')
D NAME S 20
Answer Posted / syam
Hi Vijay.....no need of %trim, no leading or trailing
blanks in name1 or name2 or name3.
%trim is required if ' AMMU' or 'LABS '
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
What is the difference between iter and do?
how do I declare a table or array in rpg iv?
Explain mdt?
What is file identifier where we can use?
What is the difference between copybooks and subprocedures in as400?
What is difference between bind by copy and bind by reference?
What is ment by record level identifier?
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
what is the rpg system?
how can I tell when to replace the array?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
how do I preserve and clean the array?
What is a record lock error?