[Migrated content. Thread originally posted on 31 December 2009]
An open output doesn't create the file in the directory. When I first copy the same files from another PC(without Acuserver), then the open output is good and every thing works fine. The name of the file is B-SF04.DAT. All users have all rights on the server 2003. Where is the mistake? Umask? the value I use is 002.- Home
- Sitemap
- Product Forums
- Rocket COBOL
- RocketĀ® ACUCOBOL
- [archive] Creating an new file wich Acuserver
[archive] Creating an new file wich Acuserver
- January 3, 2010
- 9 replies
- 0 views
9 replies
- Author
- Rocketeer
- January 3, 2010
[Migrated content. Thread originally posted on 31 December 2009]
An open output doesn't create the file in the directory. When I first copy the same files from another PC(without Acuserver), then the open output is good and every thing works fine. The name of the file is B-SF04.DAT. All users have all rights on the server 2003. Where is the mistake? Umask? the value I use is 002.set FILENAME_SPACES environment variable to 0 before the open the data file
set environment "filename-spaces" to 0
set "V-Version" to your_vision_version_number -> (2,3,4,5)
- Author
- Rocketeer
- January 3, 2010
[Migrated content. Thread originally posted on 31 December 2009]
An open output doesn't create the file in the directory. When I first copy the same files from another PC(without Acuserver), then the open output is good and every thing works fine. The name of the file is B-SF04.DAT. All users have all rights on the server 2003. Where is the mistake? Umask? the value I use is 002.000686 >>>>trying @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000687 -->use existing (7), assign_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000688 >>>file status = 35
000689 CS\\BEST\\FPNNPC\\SUBBK\\B-SF04: close (thread 671)
000690 >>>file status = 42
000691 >>>trying alias = CS\\BEST\\FPNNPC\\SUBBK\\B-SF04
000692 CS\\BEST\\FPNNPC\\SUBBK\\B-SF04: open i-o (thread 671)
000693 >>>translated name = CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000694 >>>>trying @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000695 -->use existing (7), assign_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000696 >>>>trying @SRV-NNPC3:C:/APPS/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000697 -->use existing (10), assign_name: @SRV-NNPC3:C:/APPS/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000698 >>>>trying CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000699 >>>>trying @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000700 -->use existing (7), assign_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000701 >>>file status = 35
- Author
- Rocketeer
- January 3, 2010
[Migrated content. Thread originally posted on 31 December 2009]
An open output doesn't create the file in the directory. When I first copy the same files from another PC(without Acuserver), then the open output is good and every thing works fine. The name of the file is B-SF04.DAT. All users have all rights on the server 2003. Where is the mistake? Umask? the value I use is 002.000686 >>>>trying @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000687 -->use existing (7), assign_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000688 >>>file status = 35
000689 CS\\BEST\\FPNNPC\\SUBBK\\B-SF04: close (thread 671)
000690 >>>file status = 42
000691 >>>trying alias = CS\\BEST\\FPNNPC\\SUBBK\\B-SF04
000692 CS\\BEST\\FPNNPC\\SUBBK\\B-SF04: open i-o (thread 671)
000693 >>>translated name = CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000694 >>>>trying @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000695 -->use existing (7), assign_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000696 >>>>trying @SRV-NNPC3:C:/APPS/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000697 -->use existing (10), assign_name: @SRV-NNPC3:C:/APPS/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000698 >>>>trying CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000699 >>>>trying @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000700 -->use existing (7), assign_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000701 >>>file status = 35
- Author
- Rocketeer
- January 3, 2010
[Migrated content. Thread originally posted on 31 December 2009]
An open output doesn't create the file in the directory. When I first copy the same files from another PC(without Acuserver), then the open output is good and every thing works fine. The name of the file is B-SF04.DAT. All users have all rights on the server 2003. Where is the mistake? Umask? the value I use is 002.000686 >>>>trying @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000687 -->use existing (7), assign_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000688 >>>file status = 35
000689 CS\\BEST\\FPNNPC\\SUBBK\\B-SF04: close (thread 671)
000690 >>>file status = 42
000691 >>>trying alias = CS\\BEST\\FPNNPC\\SUBBK\\B-SF04
000692 CS\\BEST\\FPNNPC\\SUBBK\\B-SF04: open i-o (thread 671)
000693 >>>translated name = CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000694 >>>>trying @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000695 -->use existing (7), assign_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000696 >>>>trying @SRV-NNPC3:C:/APPS/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000697 -->use existing (10), assign_name: @SRV-NNPC3:C:/APPS/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000698 >>>>trying CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000699 >>>>trying @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT
000700 -->use existing (7), assign_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS\\BEST\\FPNNPC\\SUBBK\\B-SF04.DAT, filesystem: 0, external_name: @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/CS/BEST/FPNNPC/SUBBK/B-SF04.DAT
000701 >>>file status = 35
- Author
- Rocketeer
- January 6, 2010
[Migrated content. Thread originally posted on 31 December 2009]
An open output doesn't create the file in the directory. When I first copy the same files from another PC(without Acuserver), then the open output is good and every thing works fine. The name of the file is B-SF04.DAT. All users have all rights on the server 2003. Where is the mistake? Umask? the value I use is 002.Does this directory (on the server) already exist?
C:/APPS/CS/PROG/ACUP/CS\\BEST\\TESTFP\\SUBBK
Also, you can start acuserver with a logfile and set tracing to level 3 and get more information from the server side.
acuserve -start -le acuserve.log -t3
(or set the equivalent if you use the GUI acuserver control panel)
- Author
- Rocketeer
- January 6, 2010
[Migrated content. Thread originally posted on 31 December 2009]
An open output doesn't create the file in the directory. When I first copy the same files from another PC(without Acuserver), then the open output is good and every thing works fine. The name of the file is B-SF04.DAT. All users have all rights on the server 2003. Where is the mistake? Umask? the value I use is 002.APPS is a networkdrive and the drivename is I: So the structure of the directorys is, first CS. In directory CS are BEST and PROG. In BEST is TESTFP and in TESTFP are GRB10, SUBBK, HISTO and VERZK. In directory PROG are ACUP, FINP etc.
I shall start friday a logging of acuserve.
Thanks for the assistant so fare.
- Author
- Rocketeer
- January 7, 2010
[Migrated content. Thread originally posted on 31 December 2009]
An open output doesn't create the file in the directory. When I first copy the same files from another PC(without Acuserver), then the open output is good and every thing works fine. The name of the file is B-SF04.DAT. All users have all rights on the server 2003. Where is the mistake? Umask? the value I use is 002.Whereas OPEN INPUT/I-O will search for existing files, starting with the first entry in FILE_PREFIX; if not found, it will search the second entry, and so on.
The file's ASSIGN name is appended the to the search path in the FILE_PREFIX. It appears that you have CS\\BEST\\TESTFP\\SUBBK hard-coded (or dynamically assigned) in the file's ASSIGN name, and that @SRV-NNPC3:C:/APPS/CS/PROG/ACUP is the first entry in your FILE_PREFIX. If you make the first entry in FILE_PREFIX "@SRV-NNPC3:C:/APPS", then the file should be created in the full path C:\\APPS\\CS\\BEST\\TESTFP\\SUBBK.
(note that the runtime and acuserve will accept either forward/back slashes).
If you don't have too many files, you may want to use explicit aliases in your runtime config file -- one alias for each file:
B-SF04.DAT @SRV-NNPC3:C:/APPS/CS/BEST/TESTFP/SUBBK/B-SF04.DAT
aaaaaa.DAT @SRV-NNPC3:C:/APPS/CS/BEST/TESTFP/SUBBK/aaaaaa.DAT
bbbbbb.DAT @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/bbbbbb.DAT
Then, make your ASSIGN names in the program just be the filename with no path:
SELECT .... ASSIGN TO "aaaaaa.DAT"
- Author
- Rocketeer
- January 7, 2010
[Migrated content. Thread originally posted on 31 December 2009]
An open output doesn't create the file in the directory. When I first copy the same files from another PC(without Acuserver), then the open output is good and every thing works fine. The name of the file is B-SF04.DAT. All users have all rights on the server 2003. Where is the mistake? Umask? the value I use is 002.Whereas OPEN INPUT/I-O will search for existing files, starting with the first entry in FILE_PREFIX; if not found, it will search the second entry, and so on.
The file's ASSIGN name is appended the to the search path in the FILE_PREFIX. It appears that you have CS\\BEST\\TESTFP\\SUBBK hard-coded (or dynamically assigned) in the file's ASSIGN name, and that @SRV-NNPC3:C:/APPS/CS/PROG/ACUP is the first entry in your FILE_PREFIX. If you make the first entry in FILE_PREFIX "@SRV-NNPC3:C:/APPS", then the file should be created in the full path C:\\APPS\\CS\\BEST\\TESTFP\\SUBBK.
(note that the runtime and acuserve will accept either forward/back slashes).
If you don't have too many files, you may want to use explicit aliases in your runtime config file -- one alias for each file:
B-SF04.DAT @SRV-NNPC3:C:/APPS/CS/BEST/TESTFP/SUBBK/B-SF04.DAT
aaaaaa.DAT @SRV-NNPC3:C:/APPS/CS/BEST/TESTFP/SUBBK/aaaaaa.DAT
bbbbbb.DAT @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/bbbbbb.DAT
Then, make your ASSIGN names in the program just be the filename with no path:
SELECT .... ASSIGN TO "aaaaaa.DAT"
- Author
- Rocketeer
- January 7, 2010
[Migrated content. Thread originally posted on 31 December 2009]
An open output doesn't create the file in the directory. When I first copy the same files from another PC(without Acuserver), then the open output is good and every thing works fine. The name of the file is B-SF04.DAT. All users have all rights on the server 2003. Where is the mistake? Umask? the value I use is 002.Whereas OPEN INPUT/I-O will search for existing files, starting with the first entry in FILE_PREFIX; if not found, it will search the second entry, and so on.
The file's ASSIGN name is appended the to the search path in the FILE_PREFIX. It appears that you have CS\\BEST\\TESTFP\\SUBBK hard-coded (or dynamically assigned) in the file's ASSIGN name, and that @SRV-NNPC3:C:/APPS/CS/PROG/ACUP is the first entry in your FILE_PREFIX. If you make the first entry in FILE_PREFIX "@SRV-NNPC3:C:/APPS", then the file should be created in the full path C:\\APPS\\CS\\BEST\\TESTFP\\SUBBK.
(note that the runtime and acuserve will accept either forward/back slashes).
If you don't have too many files, you may want to use explicit aliases in your runtime config file -- one alias for each file:
B-SF04.DAT @SRV-NNPC3:C:/APPS/CS/BEST/TESTFP/SUBBK/B-SF04.DAT
aaaaaa.DAT @SRV-NNPC3:C:/APPS/CS/BEST/TESTFP/SUBBK/aaaaaa.DAT
bbbbbb.DAT @SRV-NNPC3:C:/APPS/CS/PROG/ACUP/bbbbbb.DAT
Then, make your ASSIGN names in the program just be the filename with no path:
SELECT .... ASSIGN TO "aaaaaa.DAT"
Recent badge winners
Neil Morrishas earned the badge Consistent Trajectory
Kevin Hondhas earned the badge Orbit Established
Kevin Hondhas earned the badge Consistent Trajectory
OsmanShariffhas earned the badge Network Contributor
OsmanShariffhas earned the badge Orbit Established
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Scanning file for viruses.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
OKThis file cannot be downloaded
Sorry, our virus scanner detected that this file isn't safe to download.
OK