parameters cannot be passed in which one??
Answers were Sorted based on User's Feedback
Answer / vishnu
I want to Brief this answer!!
Difference between sub-procedure and subroutine is
1)we can pass parameter to sub-procedure but not to subroutine.
2)if we export the sub-procedure then it become as global , can be used by other programs also, subroutine is belonging to only particular program
| Is This Answer Correct ? | 0 Yes | 0 No |
How to set on/off a group of indicators in a single statement?
Can AnyOne tell me how to read join logical file in rpg from starting to end?
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
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 is the Record Address file. How can we use it in RPG program?
1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?
How can you determine the number of characters in a variable?
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
How can i check the object existance in RPG program without using QCMDEXC command.
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'