Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • I can´t download files with asdoc, error 603

    Hi,

    Im tying to download a file with asdoc, as it follows:

    asdoc pwcorr variable variable2 variable3, sig dec(3), title (Correlaciones variables)

    but I get this error
    file Myfile.doc could not be opened
    fopen(): 603 file could not be opened
    rtf_maker(): - function returned error
    <istmt>: - function returned error
    r(603);

    Can please anyone help to me

  • #2
    Usually, this error messages suggests the directory in which asdoc tried to create the output file is one in which you do not have permission to create files. The command
    Code:
    pwd
    will tell you what Stata's current working directory is. If that's not one you can write in, you have two choices
    • From Stata's File menu, choose Change Working Directory... choose a different directory that you can write in.
    • On the asdoc command, use the save() option to cause the output to be written into a directory you can write in.
    One other possibility is that perhaps this error message is occurring because there already is a Myfile.doc in your current working directory, in which case you would want to add the replace option to the asdoc command.

    Comment


    • #3
      I would just add to the helpful reply by William. If the Word file is open to which asdoc is trying to write, you shall get this error. Try closing that file before writing new contents to it.
      As per the FAQ, you should mention that asdoc is available on ssc.
      Code:
      ssc install asdoc
      Note: asdocx is now available, that is more flexible and powerful.
      Regards
      --------------------------------------------------
      Attaullah Shah, PhD.
      Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
      FinTechProfessor.com
      https://asdocx.com
      Check out my asdoc program, which sends outputs to MS Word.
      For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

      Comment


      • #4
        Originally posted by Attaullah Shah View Post
        I would just add to the helpful reply by William. If the Word file is open to which asdoc is trying to write, you shall get this error. Try closing that file before writing new contents to it.
        As per the FAQ, you should mention that asdoc is available on ssc.
        Code:
        ssc install asdoc
        Note: asdocx is now available, that is more flexible and powerful.



        Hi Prof Shah; i use asdoc command but i could not open myfile.doc. although I closed and delete old ddocuments. i tried saved command but when i open the file there is a window about file conversion. could u help me please.

        all the best

        Comment


        • #5
          Please post what you typed in Stata. Also, post the error message are you getting?
          Regards
          --------------------------------------------------
          Attaullah Shah, PhD.
          Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
          FinTechProfessor.com
          https://asdocx.com
          Check out my asdoc program, which sends outputs to MS Word.
          For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

          Comment


          • #6
            asdoc lorenz graph, aspectratio(1) xlabel(, grid)

            i want to obtain a lorenz curve with this command

            when i open the file as a word; there is a option for file conversion. windows (assumed), MS-DOS, Other code options which i see

            Comment

            Working...
            X