LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux COBOL errors to cifs mount on Windows (https://www.linuxquestions.org/questions/linux-software-2/linux-cobol-errors-to-cifs-mount-on-windows-4175416158/)

clozarks 07-11-2012 11:41 AM

Linux COBOL errors to cifs mount on Windows
 
Created a cifs mount on our Linux RHEL 4 jobsub server to a Windows server 8 SP2 on the SAN. We want all COBOL jobs to output to the mount location. Some COBOL jobs now give an error when executing:

I/O error : file 'PRNTR02'
error code: 4/8 (ANS85), pc=0, call=1, seg=0
148 Wrong open mode or access mode for write
lpr: error - unable to print file: client-error-bad-request

If the job runs and ouputs to a local directory (/home/user) on the Linux server, it runs without issue.

My syntax for the mount is:
mount.cifs //winserv/jobsubs$ /mnt/jobsubs -o
user=winmount,pass=********,uid=user,gid=users,file_mode=0775,dir_mode=
0775,iocharset=utf8

We are using Micor Focus Server Express: V5.1 revision 000

Anyone seen this and know of a solution to allow COBOL to run on a cifs mount?

chrism01 07-11-2012 08:37 PM

Looking at the I/O error msgs (I don't know COBOL), I'm guessing that eg the code is running on MS & expects MS formatted FS, but writing to a Linux FS eg ext3 OR vice versa.


All times are GMT -5. The time now is 06:57 PM.