Sponsored Content
Operating Systems SCO Using NFS shares from RMCobol Post 43981 by rongrout on Wednesday 26th of November 2003 06:43:32 AM
Old 11-26-2003
Using NFS shares from RMCobol

I have set up a directory on a PC using smb and can access the directory using all normal unix commands.
I want to be able to access files in the directory from RMCobol programs but get system error 46 which appears to be "no record locks available".
Does anybody know what I need to do to overcome this so that I can read the files?

regards

Ron Grout
 

10 More Discussions You Might Find Interesting

1. IP Networking

Mounting shares from a Windows PC

Hi... I can ping my Windows PC using both the IP address and NetBios name and I can ping my Linux box the same, IP address and NetBios name. I can even use smbclient to see the shares on my Windows PC. But I can't map the shares so that Linux sees it as a drive. How do I do that? (5 Replies)
Discussion started by: SeCBerm
5 Replies

2. Shell Programming and Scripting

[smbtar] Backup more shares in one command

Hi, is it possible backup more pc share run only one smbtar (like the exclusion)? This workssmbtar -v -s pc13 -u usr -p pc13 -x test_share -t - -X test_nobackup | gzip -c > steapc13.tar.gz also that smbtar -v -s pc13 -u usr -p pc13 -x test_share -t - -X test_nobackup test2_nobackup | gzip -c >... (0 Replies)
Discussion started by: mbarberis
0 Replies

3. SCO

Installing RMCOBOL on SCO UNIX

Hello there, I have a rather big question, I need to install RMCOBOL on SCO, but i've got absolutely no idea of how to do it, I'm currently installing a server with SCO but the guys forgot to mention that they also wanted the rmcobol thingy... i've been looking on the internet but i cant find a... (1 Reply)
Discussion started by: sx3v1l_1n51de
1 Replies

4. UNIX for Advanced & Expert Users

File Server Pc Shares

Hi Everybody, I just want to know if anyone can help me to increase disk space for my users shared folder... it running out of free space... Any command that i can use or any otherway to prevent losing disk space from each folder? Please help... Thank you. (2 Replies)
Discussion started by: bvillante
2 Replies

5. Shell Programming and Scripting

Help creating a script to relocate shares

I have a single Linux Red Hat 8.0 server with two external disk arrays (each a raid) connected via SCSI. The OS/boot/swap is on an internal set of disks and should not be affected by this process. I need to move all of my data from one disk array to another while keeping all of my 30 or so... (0 Replies)
Discussion started by: kenisswell
0 Replies

6. Red Hat

NFS Shares

Hi, Is there any command in linux to check the remote NFS shares from client machine just like we have dfshares in solaris. Thanks, Trimurtulu (1 Reply)
Discussion started by: ktrimu
1 Replies

7. UNIX for Dummies Questions & Answers

Samba - Creating shares

So I have Samba installed on my server and I have to create two shares. Make a backup of your smb.conf - call it smb.conf.orig. Create a share called shared that allows read and write permissions for everyone and points to /media/shared. Create another share called www that points to the... (1 Reply)
Discussion started by: shadowcat
1 Replies

8. UNIX for Dummies Questions & Answers

Help mounting Samba shares

I have these two shares on my Ubuntu Server: path = /media/share read only = no guest ok = yes path = /var/www read only = noI want to mount them to the directories that I created on my Desktop called "shared" and "www" how do I do this? I ran the command: smbclient -L... (1 Reply)
Discussion started by: shadowcat
1 Replies

9. Red Hat

Help with NFS shares

Hi, I have got nfs shares that were shared from storage (Netapp) to linux servers (RHEL 4) that were on automount. All the share were visible and mounted on the linux serves eventhough they were on auto mount. But recently one of the server was rebooted and mount points were disappeard and... (5 Replies)
Discussion started by: phanidhar6039
5 Replies

10. UNIX for Advanced & Expert Users

File shares in UNIX

a) what are the different ways to share files ? b) How can I get list of file shares on Unix box in my company? c) How can I get list of files and their content present on all the Unix File shares? (1 Reply)
Discussion started by: vipintanwar
1 Replies
cp(1)							      General Commands Manual							     cp(1)

Name
       cp - copy file data

Syntax
       cp [ -f ] [ -i ] [ -p ] file1 file2

       cp [ -f ] [ -i ] [ -p ] [ -r ] file... directory

       cp [ -f ] [ -i ] [ -p ] [ -r ] directory... directory

Description
       The command copies file1 onto file2.  The mode and owner of file2 are preserved if it already existed; the mode of file1 is used otherwise.
       Note that the command will not copy a file onto itself.

       In the second form, one or more files are copied into the directory with their original file names.

       In the third form, one or more source directories are copied into the destination directory with their original file names.

Options
       -f   Forces existing destination pathnames to be removed before copying, without prompting for confirmation.  The -i option is  ignored	if
	    the -f option is specified.

       -i   Prompts  user  with  the name of file whenever the copy will cause an old file to be overwritten. A yes answer will cause to continue.
	    Any other answer will prevent it from overwriting the file.

       -p   Preserves (duplicates) in the copies the modification time, access time, file mode, user ID, and group ID as allowed  by  the  permis-
	    sions of the source files, ignoring the present umask.

       -r   Copies  directories.  Entire directory trees, including their subtrees and the individual files they contain, are copied to the speci-
	    fied destination directory. The directory, its subtrees, and the individual files retain their original names. For	example,  to  copy
	    the directory including all of its subtrees and files, into the directory enter the following command:
	    cp -r reports news

See Also
       cat(1), pr(1), mv(1)

																	     cp(1)
All times are GMT -4. The time now is 05:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy