Removing header or footer from file

Hi Every one,
what is the coomand to remove header or footer from a file.
Please help me by providing command/syntax to remove header/footer from unix.
Thanks in advance for all your support.

How many lines your header and footer contains (Or just the first and last line of a file) ??
And also what is your try to achieve the output ..

Just need to remove header or footer based on file and requirement.
Then we will use that file in our application.

Please do not leave people guessing. Show a representative sample of input, desired output, attempts at a solution and specify what OS and versions are being used.

Here is the details .

/home/dsadm> uname -a
SunOS usplsah2s88002 5.10 Generic_147440-09 sun4v sparc SUNW,SPARC-Enterprise-T5220

And File content for your reference .

jah2s880as10608Part
jah2s880as11306Recommendation
ah2s880asSecondLevelServerJobNew
jah2s880as20406ModelOptionStatement
jah2s880as20415VehicleProdYear
Jah2s880as20303EWOSignoff
jah2s880as20705MatrlYrlyPrtVol
jah2s880as20814QualityPerson
jah2s880as20909PartDescription
jah2s880as21002Contract
jah2s880as21011PartYearBook
jah2s880as21012PartYearInfo
jah2s880as21208PartBuyer
jah2s880as20910PartDlsPls
jah2s880as20204GMOrgNew
jah2s880as21209ConversionRate
jah2s880as20608Person
jah2s880as30206ParentGMOrg
jah2s880as30216UltimateGMOrg
jah2s880as20609PersonTelephone

Actually my requirement based on file, in some files we need to remove header and for other some files need to remove footer from file.

Based on these details please let me know command to remove header or footer from file .

I'm assuming by header and footer you mean the first and last line of file.

To remove both "header" and "footer"

sed '1d; $d' inputfile