it is possible declare variable values as variable using cl ?
any cl command is there to declare values as variable

Answer Posted / svankipu

It is not possible to declare the values itself as variables
in CL.

There's an option in RPG/400 & RPGLE to declare a value as
variable.

Use "Named Constant" to do this. Refer to RPG-Manual for this.

Is This Answer Correct ?    1 Yes 0 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)?

405


What Is The Purpose Of The "n" In The Following Calculation Specification?

672


what are necessary keywords to code message subfile?

1031


which of the following operations does not zero the field flda defined as 4,0?

707


WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)

1720






can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com

2238


what opcode could be used to test an alphanumeric field for all numeric values?

1071


What Is The Error If We Don't Get Login Screen?

677


Space & Skip Are Which Level Keywords?

756


define the purpose of the %sst function?

944


what is the command used to invoke rlu ?

1175


how can we run a batch job?

731


How to Define a Procedure in RPG?

1224


what is the maximum number of parameters allowed in rpg?

1038


can we define multi-dimensional arrays in rpg ?

933