MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » November 2012

Re: EXTNAME not picking up the correct file



fixed

Alan,

As I see it, your problem is that, being on V5R4, you can’t use a
EXTNAME(mylib/myfile) keyword, so when I suggested the idea of including a
F-spec, I was thinking about doing the following steps:

1) Include a F-Spec (input only/user open) indicating
EXTFILE(mylib/myfile). That way you can have the file format you need.

2) Create two (2) data structures (before and after), using the LIKEREC
keyword in your DS. Something like:

DRecBefore DS Likerec(FileFormat)
DRecAfter DS Likerec(FileFormat)

My apologies for my prior post being so terse (short?), as I was leaving my
office in a hurry in order to retrieve my daughter at the school.

Best Regards,


Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact