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

Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1458


How Chain operation copies the record's data to the input buffer for the program?

1084


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

1973


how do I declare a table or array in rpg iv?

739


How to call one program from another program in RPG? please help me with the code

1264






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...........

3290


what is the procedure and explain about real time scenario.

1483


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2377


what was the robotech rpg?

689


how do I declare a minor?

718


what is a rpg?

705


what is the necessary keyword needed to scroll subfile records?

706


How to select highest score of each subject or how to select highest income of every month?

1299


How can we know running job is batch or interactive?

660


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5427