Gil, I wouldn't be opposed to write a Assembler subroutine to do that…
Thank you Sent from Windows Mail From: Paul Gilmartin Sent: Monday, February 10, 2014 12:27 PM To: IBM Mainframe Discussion List On 2014-02-10 16:16, Scott Ford wrote: > > I have a Cobol program that can input either RECFM=FB or RECFM=VB and I am > trying to make it easier for our customers to use. > > The input file can be either and whats the simplest way to tell the program > that the input is FB OR VB. I was thinking PARM= … > > What do you guys/gals think ? > When I did this sort of thing, long ago, not in COBOL, I inspected DCBRECFM in my DCB exit. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN