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.



Q.Hi All friends, I have one Question, I have three fields in display file SUP LOT, ISSUED to..

Answer / 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

More IBM AS400 AllOther Interview Questions

how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

1 Answers   iGate,


What is the use of E specification in RPG?

1 Answers  


Hi,while writing a program, what is the mandatory specification using rpg/400 (in7 specification)?And please tell me what is the difference between SCAN AND CHECK opcodes?can any body tell me in real time senario?with example?

3 Answers  


1) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) What is Non-Join Logical file and its importance?

4 Answers   Cognizant,


what is library?

1 Answers   IBM,


I am a fresher. I got project on AS 400. Can any body suggest the best book for learning of it.

1 Answers  


how may a cgi control duplicate inputs?

0 Answers   IBM,


Q.Suppose one job is running in a batch mode for a long time now i want to kill this batch job. how you achive this?

3 Answers   IBM,


define subsystem?

1 Answers   IBM,


what is service program?

0 Answers   IBM,


What is data structure in as400? What is the use of data structure?

0 Answers  


When will DUMP and DEBUG opcodes be ignored?

1 Answers  


Categories