[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] write 1 from $1 -> in header



i guess thats the answer- i haven't noticed it at all-
it should be write 2 

Rajib Sengupta
Systems Analyst and Team Lead
Peoplesoft Financial Consultant
Conagra Business Systems
Phone: 402-595-5749


-----Original Message-----
From: Weaver, Judith R [mailto:Judith.R.Weaver@usa-spaceops.com]
Sent: Tuesday, July 15, 2003 10:53 AM
To: sqr-users@sqrug.org
Subject: RE: [sqr-users] write 1 from $1 -> in header


Ben
-  Change begin-report back to begin-program - this is the proper format and 
has nothing to do with your problem.
-  It appears that you're opening file as 2 but writing to file 1...should be 
"write 2 from $1"

Judy


-----Original Message-----
From: sqr-users-admin@sqrug.org [mailto:sqr-users-admin@sqrug.org]On
Behalf Of Ben Anderson
Sent: Tuesday, July 15, 2003 11:32 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] write 1 from $1 -> in header


I'm writing to a flat file and getting this error when I try to write in the 
BEGIN-HEADING section:
   (SQR 3202) Specified file number not opened for writing.

I've tried putting this:

  open $full_name as 2
    for-writing
    record=900:vary

in the HEADING and at the very beginning of BEGIN-REPORT, but it just errors 
on different line numbers.  I also tried switching BEGIN-REPORT to 
BEGIN-PROGRAM.  Any guidance?

Thanks,
Ben Anderson

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users