04-13-2004
.... (thread opened by Neo) it is very probable that some of our 35,000+ members use USS.
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
am wanting to know if the board is worth my time and effort since I work with USS (Unix System Services) on a Mainframe computer. If there are others who use USS on the Mainframe this will be helpfull. I dont want to spend my time racking up the number of posts I have nor should anyone else.
... (2 Replies)
Discussion started by: Javagate
2 Replies
2. Shell Programming and Scripting
Hi I m an absolute dummy on UNIX, I m basically a SAP guy. but I require a file which is stored on the mainframe to be moved to Unix application server. I got the following script to do it from someone
#! /usr/local/bin/move_prom
REMOTE_HOST=158.52.246.30 # Hostname of the remote Mainframe... (2 Replies)
Discussion started by: satyaj_99
2 Replies
3. Shell Programming and Scripting
Hi,
I have received a mainframe file ( VSAM file ) . I would like to handle that file in Unix. i.e I would like to take the last record of the file. I have given wc -l <file_name> , it gives 0 lines. Even though It has some lines , it is not giving count exactly. When I gave file <file_name>... (1 Reply)
Discussion started by: thambi
1 Replies
4. HP-UX
hi
suppose i have a file named xyz(-1) and i have to transfer(ftp) it on a Mainframe from unix,how should i do it as whenever i try to do so it says use MVS naming conventions (1 Reply)
Discussion started by: ashishabhishek
1 Replies
5. UNIX and Linux Applications
suppose i have a file named xyz(-1) and i have to transfer(ftp) it on a Mainframe from unix,how should i do it as whenever i try to do so it says use MVS naming conventions (1 Reply)
Discussion started by: ashishabhishek
1 Replies
6. UNIX for Dummies Questions & Answers
I have the following UNIX script which copies a file from a UNIX server in Canada to a UNIX server in the UK.
LOG=/data/proj/sftp/canada.log
DAT=`date "+%d/%m/%y %H:%M"`
HOMEDIR=/data/proj/sftp
TGTFILE=P_DATA.csv
cd $HOMEDIR
echo "\nStarting retrieval of Canadian Data at $DAT" >> $LOG
... (1 Reply)
Discussion started by: mishnok
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have many scripts where i have used sftp for file transfer from unix box to unix box.. Now that we have to sftp files from unix to mainframe, i would like to know if that is possible.
I just tried in the same way i did from unix to unix, but i got the error as connection refused.
Are... (2 Replies)
Discussion started by: dnat
2 Replies
8. UNIX for Dummies Questions & Answers
Hi Everyone,
Do I need to provide record length as Record length + 4 when I'm transferring a variable block files from unix to mainframe through ftp?
For example, I have a file in unix (ebcidic converted) with maximum record length of 100.
This works correctly,
quote... (1 Reply)
Discussion started by: poova
1 Replies
9. Shell Programming and Scripting
Hi All ,
I need a help regarding file ftp ing from mainframe to unix.Our source file is mainframe file.I need to download the mainframe file to local unix server through unix script.If anyone can help me how we can do it through unix script ,it will be really helpful.Thanks. (7 Replies)
Discussion started by: STCET22
7 Replies
10. UNIX for Advanced & Expert Users
Hi,
can we execute mainframe jcl in Unix system. I want to run jcl in unix instead of mainframe.
Thanks in advance.
Please post in an adequate forum! (6 Replies)
Discussion started by: Rajeev Das
6 Replies
usleep(3) Library Functions Manual usleep(3)
NAME
usleep - Suspends execution for an interval of time
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <unistd.h>
int usleep(
useconds_t useconds);
The following function declaration does not conform to current standards and is supported only for backward compatibility:
#include <unistd.h>
void usleep(
unsigned useconds);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
usleep(): XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Specifies the number of microseconds to sleep.
DESCRIPTION
The usleep() function suspends the current process from execution for the number of microseconds specified by the useconds parameter.
Because of other activity in the system, or because of the time spent in processing the call, the actual suspension time might be longer
than specified.
The useconds parameter must be less than 1,000,000. If the value of useconds is 0 (zero), the usleep() function has no effect.
In a multithreaded environment, the sleep() function is redefined to suspend the calling thread.
RETURN VALUES
On successful completion, the usleep() function returns 0 (zero). Otherwise, it returns -1 and sets errno to indicate the error.
ERRORS
The usleep() function sets errno to the specified values for the following conditions: The interval specified in the useconds parameter
exceeds 1,000,000 microseconds.
RELATED INFORMATION
Functions: getitimer(2), sigaction(2), sigvec(2), alarm(3), sleep(3)
Standards: standards(5) delim off
usleep(3)