what r drawbacks of OPM?
Why do we go for ILE RPG?
Answer / syam
Benifit of ILE RPG IV(EPM RPG) and Drawbacks of OPM RPG
1 Not Case-sensitive - Upper case
2 Free format possible - No Free format
3 "D" specification introduced - "E" specification
4 Field names expanded to 14 character - 6 character
5 Size of the Character Field 32767 - 256 character
6 Decimal places for numeric expanded to 30 - 9
7 Data structure expanded to 32767 - 9999
8 Size of constants expanded to 1024 - 256
9 Factor1 and factor2 expanded to 14 character - 8
10 Opcode expanded to 10 characters - 6
11 Maximum No of File No LIMIT - 50
12 Maximum no of subroutines NO LIMIT - 256
13 No of Elements in array expanded to 32767 - 9999
14 File name length expanded to 10 - 8
15 Decrypt some existing opcode
16 ADD & SUBSTRACT Date and Time opcode available
17 Built in functions available
18 Two step compailation (Module & Bind to program) - One
step compailation (Program)
19 Dynamic EVAL opcode has been introduced
20 Concept of ACTIVATION GROUP
Is This Answer Correct ? | 14 Yes | 1 No |
how to run only 10 modules of existing N modules in service program in RPGILE ?
How can i keyed a flat file in RPGLE
are there any useful c runtime apis that I can call from rpg iv?
what is file identifier wher we can use
i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?
Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On
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...
i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What are different ways to pass data between programs and which one is the efficient way?
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?
Write a program to display prime numbers between 1 to 100 using RPGLE.