what is the difference between *like and *namvar ?

Answer Posted / hemendra kumar

*LIKE defines the variables as in database.

*NAMVAR is used to define variables as data area.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

407


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

1787


what is the use of sflend keyword?

983


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

2415


What is file access opcodes?

760






why do we use readc? What is sflnxtchg?

670


what does defn do?

615


where can you specify an indicator in lokup operation?

1160


can a indexed file be accessed in arrival sequence in rpg program?

951


How to convert a spool file to PDF file in AS400?

741


Space & Skip Are Which Level Keywords?

758


what is join logical file?

1052


how many maximum spaces could be given in o specs?

634


how to develop some simple graphs (bar charts) using just html?

670


can you specify a display file to be used in the following modes input,output, or combined modes ?

943