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

Q.Hi All friends,


I have one Question, I have three fields in display file
SUP LOT, ISSUED to Prod and Line Grp.

Field SUP LOT is mentioned in one field reference file
WRSLT and key field as a key field LP.Fields ISSUED to
PROD,Line GRP are mentioned in the another Field reference
file WMDTF.
So I want to read SUP LOT on the basis of key field LP from
the first file WFSLTand then i want ot read another two
fields ISSUED to DATE and LINE GRP from second file on the
basis of SUP LOT, which i got from first file.Now i want to
display these fields in the display file DSPWMMS.

but Condition is that 'Supplier Lot,ISSUED to Prod and
Line Grp will not be shown if their respective fields are
blanks/Zero.

Please Let me Know coding part of this senerio and what
would be coding for display file to now shown fields if
fields are blanks/zero.

My mob. no. is 9836300345.

Please reply me asap.

Answer Posted / syam

1. Check PF and Display file variable name should be same.
If not you need to use "move or z-add" opcode.
2. 2nd file record not Chain properly bcoz inticator *on
and *off not correct, file may be end of record (use setll
*loval") be4 read, make sure after chain record "write
dspmwms" used.

Please paste your code here so we cand find mistake.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the record format field mapping options in cpyf?

1029


Can we debug the MSGW JOBS?

1335


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

1101


what is the purpose of dynslt keyword?

1757


how can database records be read without lock ?

1954


In AS/400 projects in Companies whats the meaning of production support team.what production support involves.also what work does development,maintenance involve what are the other teams or processes that are available for as400 project.

9075


when would you use or not use this approach?

1551


can you specify a display file to be used in the following modes input,output, or combined modes ?

1561


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

1042


what is the disadvantage of using global variable?

1212


how can I start a page in a new window?

1226


what is full form for dds?

1208


how do you read data area in an rpg program?

1828


How can we update a specific field in RPG?

1364


what is procedure prototype and procedure interface.

1230