Hi All
I have a requirement like, where a file gets generated in a particular dir and once the file is ready and available then I want to execute rest of the script, because untill and unless the file exists and is available there is no use of running rest of the commands in that script.
... (5 Replies)
Hi,
As I have seen in this forum how to comment multiple lines in the script, but it does not work properly for me.
It is blocking the code but it does not execute the rest of the codes.
This is my code
#! /usr/bin/ksh
month='date +"m%"'
: << Comments Block
if ||
then
echo "inc =... (12 Replies)
Hi,
I have a problem where some of the records I need to process have the first address field as something like "10Walpole Street" where obviously I want it to be "10 Walpole Street". I know I need to somehow separate out the integer and probably form a new string variable, but I just don't... (5 Replies)
I am running a C shell script. I have an output file from a previous step and I need to run "something" in the next step to check if the file is empty. If the file is empty, then the job script should finish EOJ. If the file is not empty then the job script should abend.
Please help
Thanks. (4 Replies)
I have a local linux machine in which the files are dumped by a remote ubuntu server. If the process in remote server has any problem then empty files are created in local machine. Is there any way using perl script to check if the empty files are being created and delete them and then run a shell... (2 Replies)
I want to check access rights permissions not for 'user', not for 'group', but for 'others'.
I want to do it by system command in which i want to use 'ls -l' and 'awk' command.
I have written the following program :
#!/usr/bin/local/perl
#include <stdlib.h>
system ("ls -l | awk... (1 Reply)
Hi,
I'm looking at doing a cron job for a script that could take a very short time to complete or a very long time to complete based on variable activity on a server. I don't want to do a weird schedule, but I don't want to be so aggressive that the process attempts to start before another... (14 Replies)
Hello
I was working on a script where the output of my file is
1234
4567
8973
43214
78965
I need the value in below format of this file.The nth field should have space instead of ,(comma)
1234,4567,8973,43214 78965
I tried the code but not working completely
xargs <temp_PP.7250... (3 Replies)
Hi All,
I need to check a file whether it exists and also whether it is empty or not. I have a code for this but it is not working as per my requirement. Can anyone pls suggest me on this.
function funcFLSanityCheck
{
if
then
echo "${varFLSentFileListPath}/${varFLSentFileName}... (7 Replies)
Discussion started by: Arun1992
7 Replies
LEARN ABOUT REDHAT
qsqlrecordinfo
QSqlRecordInfo(3qt)QSqlRecordInfo(3qt)NAME
QSqlRecordInfo - Encapsulates a set of database field meta data
SYNOPSIS
#include <qsqlrecord.h>
Public Members
QSqlRecordInfo ()
QSqlRecordInfo ( const QSqlFieldInfoList & other )
QSqlRecordInfo ( const QSqlRecord & other )
size_type contains ( const QString & fieldName ) const
QSqlFieldInfo find ( const QString & fieldName ) const
QSqlRecord toRecord () const
DESCRIPTION
The QSqlRecordInfo class encapsulates a set of database field meta data.
This class is a QValueList that holds a set of database field meta data. Use contains() to see if a given field name exists in the record,
and use find() to get a QSqlFieldInfo record for a named field.
See also QValueList, QSqlFieldInfo, and Database Classes.
MEMBER FUNCTION DOCUMENTATION QSqlRecordInfo::QSqlRecordInfo ()
Constructs an empty record info object
QSqlRecordInfo::QSqlRecordInfo ( const QSqlFieldInfoList & other )
Constructs a copy of other.
QSqlRecordInfo::QSqlRecordInfo ( const QSqlRecord & other )
Constructs a QSqlRecordInfo object based on the fields in the QSqlRecord other.
size_type QSqlRecordInfo::contains ( const QString & fieldName ) const
Returns the number of times a field called fieldName occurs in the record. Returns 0 if no field by that name could be found.
QSqlFieldInfo QSqlRecordInfo::find ( const QString & fieldName ) const
Returns a QSqlFieldInfo object for the first field in the record which has the field name fieldName. If no matching field is found then an
empty QSqlFieldInfo object is returned.
QSqlRecord QSqlRecordInfo::toRecord () const
Returns an empty QSqlRecord based on the field information in this QSqlRecordInfo.
SEE ALSO
http://doc.trolltech.com/qsqlrecordinfo.html http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license
statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you.
Thank you.
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a
web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially
supported by Trolltech.
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page
(qsqlrecordinfo.3qt) and the Qt version (3.1.1).
Trolltech AS 9 December 2002 QSqlRecordInfo(3qt)