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


how a varible can be passed to a subfile...accnt1 contain
data in a data area..ie Daccnt1 uds,Daccnt2 3
overlay(accnt1:1),
DNo 4 overlay(accnt1:4)..we want to transfer this dataarea
value from acnt0001 to a subfile..that means to enter each
record we have to incriment account no,,
i normal window we can do
move accnt1 account_no
eval account_no=accnt1
eval no=no+1
exfmt usr_account
how it possible with Subfile????????.Please do answer?
(Thank you for all your answers dear friends!!)



how a varible can be passed to a subfile...accnt1 contain data in a data area..ie Daccnt1 uds,D..

Answer / ajay

I didn`t get your question clearly but below my comments
help you....

As you want subfile to show incremented account number
and as stated in ur question you are fetching initial value
for account number from dataarea accnt1

do n ( n :- subfile page size)
move accnt1 account_no
eval account_no=accnt1
eval no=no+1
write sfl_format
eval rrn=rrn+1 ( rrn :- this is associated with SFL)
enddo
exfmt sfl_ctlfmt

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

Can we add or remove the module object from service Program..and how...?

4 Answers  


What is compiler directive in as400? Give example of compiler directive.?

0 Answers  


how do you turn off indicators 50 through 59 in only one operation

1 Answers  


can we retrieve dspf source?

2 Answers  


what is a physical file?

1 Answers   IBM,


not all command typed on command line are cl command? true r false

3 Answers  


In which specification Data Structures can be defined?

1 Answers  


What is the use of jdftval in as400?

0 Answers  


what if my system I runs with system value qccsid 65535?

0 Answers   IBM,


What is GDA?

1 Answers  


Why we are not able to perform insert delete and update operation in Join logical file?

0 Answers   IBM,


What are the different types of access paths maintained on the file?

1 Answers  


Categories