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.

Answer Posted / rashmimalpani

value of field 2 will be 0

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

968


What is ment by record level identifier?

1148


How many program bind in one module....

2689


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

1237


how do you use commitment control in rpg?

1290


what is file information data structure?

2215


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3840


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

2415


What is difference between bind by copy and bind by reference?

2486


How would display prime numbers using CL program?

6332


what is the difference between do while and do until?

1263


what is the necessary keyword needed to scroll subfile records?

1169


how can you display specific subfile page on the screen in unequal subfile?

1163


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

5154


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2646