Does MOPS.REPROMISE.VIEW.FUNC exist in the LEW.IMPLEMENT file? It would be much clearer (and easier to debug) to code it with OPEN, READ and WRITE statements. It's best to stay away from EXECUTE when there is an alternative.
Dan On Wed, Jun 16, 2010 at 3:18 PM, LWhite <[email protected]> wrote: > Hello. I am trying to copy a file from one location to another. I get > 0 records copied but don't understand why. Here is what I have > > 079 sCOPY.COMMAND = "COPY ":sIMPLEMENT.FILE:" ":sPROGRAM.NAME > 080 CLEARDATA > 081 DATA "(LEW.OA ":sFULL.NAME:"_":sITPR.NUMBER > 082 EXECUTE sCOPY.COMMAND > > I have a debug statement following this so that I can see my > variables. They are: > sIMPLEMENT.FILE : LEW.IMPLEMENT > sPROGRAM.NAME : MOPS.REPROMISE.VIEW.FUNC > sCOPY.COMMAND : COPY LEW.IMPLEMENT MOPS.REPROMISE.VIEW.FUNC > sFULL.NAME : LEW.TOOLS_MOPS.REPROMISE.VIEW.FUNC > sITPR.NUMBER : IT0280-2010 > > Does anyone see the problem? The files are created to take from and > copy to. I have to use variable names due to this being part of a > loop. Any and all help is greatly appreciated. > > Leonard > > -- > Please read the posting guidelines at: > http://groups.google.com/group/jBASE/web/Posting%20Guidelines > > IMPORTANT: Type T24: at the start of the subject line for questions > specific to Globus/T24 > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > -- Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
