Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Im traying to get out put of this below mention simple
logic code.But im geting out of different.(im trying with
my laptop trhough my company server.

DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400')
DCL &FIELD2 *CHAR 10

CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1)

Can you tell me the value of field2 after excuted of CHGVAR
command.

Answers were Sorted based on User's Feedback



Im traying to get out put of this below mention simple logic code.But im geting out of different.(..

Answer / swetha p rao

value is '0 '

Is This Answer Correct ?    11 Yes 0 No

Im traying to get out put of this below mention simple logic code.But im geting out of different.(..

Answer / rashmimalpani

value of field 2 will be 0

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More RPG400 Interview Questions

i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.

2 Answers   CTS,


How to update physical file in rpgle without using display file?

4 Answers   GalaxE, IBM, TCS,


How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


What is ment by record level identifier?

0 Answers  


What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?

2 Answers   CGI, Wipro,


What is the difference between inner join @ outer join

4 Answers  


two types of read performed in dataqueue?????

4 Answers   CTS,


Why did we give STRSRVJOB while debugging batch program

3 Answers   HBL Power Systems,


Can we found a record existance in a file w/o reading the file?

6 Answers   Traitsys Technologies,


1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?

6 Answers   Virtusa,


How can we override a file during runtime in rpg?

0 Answers  


1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?

1 Answers   CSC,


Categories