> -----Ursprungligt meddelande----- > Från: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] För McKown, John > Skickat: den 7 november 2007 14:57 > Till: [email protected] > Ämne: Re: COBOL COPY statement w REPLACING... > > > -----Original Message----- > > From: IBM Mainframe Discussion List > > [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Berg > > Sent: Wednesday, November 07, 2007 4:09 AM > > To: [email protected] > > Subject: COBOL COPY statement w REPLACING... > > Importance: High > > > > > > ..just for my obscene curiosity: > > > > What IDIOT designed the COBOL COPY REPLACING statement ?? > > > > Thomas > > ANSI - a committee: A creature with multiple stomachs, but no brain. > The latter I have no difficulty to believe !
We (a local project) had an urgent need to use this functionality and as I hadn't any experience with COPY REPLACING I thought it was a no-brainer... As I discovered that You have to had a prepared copy to replace a non-space delimited string I thought that, OK, I solve this with nested COPYs... ...BUT NESTED COPYS IS NOT ALLOWED WITH REPLACING ! Essentially, when You REALLY need this functionality You CANNOT USE IT ! Sometimes I feel soooo tired... Thomas ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

