difference betwen keywords and opcodes
Answers were Sorted based on User's Feedback
Answer / syam
Keywords = Functions it is using in PF,LF,RLU,SDA
(Like..Check,Colhdg,Text,Datfmt,Edtcde)
Opcodes = Operation Code(Reserve Words) it is using in RPG
programs (Like..Move,Read,Write,Dsply,Chain,reade)
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / guest
keywords are resevered words , but opcodes are operated
the logic of program
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / sanjay
Keywords are used for creating the file source
(PF,LF,DSPF,PRTF) and
Opcodes are used for creating the program source for RPG
| Is This Answer Correct ? | 0 Yes | 3 No |
1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.
what is an online rpg?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’
How to declare the more than one file in cl/400.
Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?
can anybody explain significance of *loval setll with example code????
How to print Superscript / Subscript from RPG400
How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
how do I preserve and clean the array?