why subproc not run in dftactgrp?????/plz explain
Answers were Sorted based on User's Feedback
Answer / nisha
Because if Dftactgrp will be used then it will then pgm
will be *pgm type which will behave like a rpg400 or cl pgm
which does not support procedure.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sachin s
Subprocedures are reusable components and by default these
will refer *CALLER activation gruops to support
files,veriable,system resources of activation gruop from
called progeram and advantage is to support multiple called
programs to seperate local variables.
Hope it clear now!
Is This Answer Correct ? | 3 Yes | 1 No |
1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .
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 ?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?
In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?
As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks