I get the ouput as
----------------------------------------------------------------------
PLEASE FIND THE BELOW DETAILS FOR EACH INDIVIDUAL
AGE
HEIGHT
WEIGHT
My expected output is
------------------------------------------------------------------------------
PLEASE FIND THE BELOW DETAILS FOR EACH INDIVIDUAL
AGE
HEIGHT
WEIGHT
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
Hello Jasmad,
Would you kindly provide your input as well. I think you have student records in seperate file & you are trying to merge it with header . Please use code option while posting .
Joined: 23 Jan 2009 Posts: 32 Location: Tamil nadu
Thank you Frank. It gave the desired result. I got it as below,
Code:
****** ***************************** Top of Data ************
000001
000002
000003 PLEASE FIND THE BELOW DETAILS FOR EACH INDIVIDUAL
000004 AGE
000005 HEIGHT
000006 WEIGHT
000007
000008 STUDENT00001
000009 ------------
000010 19
000011 135
000012 40
000013 STUDENT00002
000014 ------------
000015 15
000016 123
000017 38
000018 STUDENT00003
000019 ------------
To add on it, can I get the result as below,( with the individual names displayed instead of STUDENT00001...)
I do have only 5 to 6 names/sections to be displayed , and not much...and so hope there is no need for a seperate i/p file to hold the names.
eg:
Code:
****** ***************************** Top of Data *********
000001
000002
000003 PLEASE FIND THE BELOW DETAILS FOR EACH INDIVIDUAL
000004 AGE
000005 HEIGHT
000006 WEIGHT
000007
000008 KATHERINE
000009 ------------
000010 19
000011 135
000012 40
000013 CLIVE
000014 ------------
000015 15
000016 123
000017 38
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
To add on it, can I get the result as below,( with the individual names displayed instead of STUDENT00001...)
I do have only 5 to 6 names/sections to be displayed , and not much...and so hope there is no need for a seperate i/p file to hold the names.
Well, the names have to come from somewhere ... either hardcoded or a separate file or Symbols or somewhere. Do you just have a list of 6 names that you want to hardcode in the control statements that's always the same? If so, what are the names? If not, where do the names come from?