2012 Jan 21 6:24 AM
Hi ,
I have some fields in one structure (say for example employee record) , I have one more structure (say for example department record). I have to map some fields from department to employee . So how can i do that .If anyone know , please reply.
Regards,
Swathi.
Moderator message : Requirement dumping not allowed, show the work you have already done, thread locked.
Edited by: Vinod Kumar on Jan 22, 2012 8:49 PM
Hi ,
I have some fields in one structure (say for example employee record) , I have one more structure (say for example department record). I have to map some fields from department to employee . So how can i do that .If anyone know , please reply.
Regards,
Swathi.
Moderator message : Requirement dumping not allowed, show the work you have already done, thread locked.
Edited by: Vinod Kumar on Jan 22, 2012 8:49 PM
2012 Jan 21 3:52 PM
swathi,
let us know what have you done till now.. if the structure has any field in common you can compare those
2012 Jan 22 4:51 AM
Hi ,
Thank you for your response. Actually there is no common field in those structures. What i need to do is i have take some fields from department , map those fields to the employee record. Actually the program will give the output as file i,e , we can download employee file using the program from application server.
what i am thinking is , i can include those fields (from department) into the emp structure . can we use 'transfer' command .
Regards,
Swathi
2012 Jan 22 6:36 AM
Hi,
I think best will be to map one to one field and make sure the data type is same.
Regards
Abhinav
2012 Jan 22 9:13 AM
transfer is used to pass content from program to app server file.
so, you need to first add the extra fields in the employee structure, pass the values as per your logic, there has to be one.. else how do you relate? once you pass the values then you can use transfer along with open dataset to wrote the data to app server file