In lieu of a subpoena, a written notice to appear may be served on a party’s attorney not less than 10 days before the hearing, unless shortened by the court. The production of books, documents and things may be compelled if the notice is served at least 20 days before the hearing. (CCP 1987(b),(c))