Please give me the code for A=A+1 in cl program?

Answer Posted / swathi

i will agree the answer sweatha.
it is right.
CHGVAR VAR(&A) VALUE(&A+1)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the purpose of ovrdta and ovrata keywords ?

892


how can I give more performance to some selected pages?

617


what is sflinz and sflrna?

1018


what are the three line types in rlu ?

1490


how can you specify no duplicate key?

712






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

679


what is the length of a variable in rpg?

972


Can we debug the MSGW JOBS?

935


i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.

1043


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2041


how can we run a batch job?

737


how many maximum spaces could be given in o specs?

641


How do I remove a flag or check no. or name when a user opens too many sessions?

1779


How can we read file using curser? how to define a curser?

831


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

681