Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!ucsd!ucbvax!ALLEGVM.BITNET!PGIFFORD From: PGIFFORD@ALLEGVM.BITNET (Pete Gifford) Newsgroups: comp.lang.asm370 Subject: Writing to a CMS file Message-ID: <9104171945.AA06741@ucbvax.Berkeley.EDU> Date: 17 Apr 91 08:59:30 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 11 This is my first serious attempt at a writing a CMS assembler program. I want to be able to create to a file whose name is given as a parameter to the program. It seems that the FSCB macro requires that the filename be given in quotes. Since I won't know the filename at assembly time, how do I make this generic? My first idea is to code the macro with a dummy name and then insert the real name into the proper location once I have gotten it. Am I on the right track? Anybody have code they are willing to share? Thanks,