NFDUMP(8) System Manager's Manual NFDUMP(8)NAME
nfdump, nfload - notesfile dump/load programs
SYNOPSIS
nfdump notesfile
nfload [ -Ddirectory ] notesfile
DESCRIPTION
Nfdump and nfload are used to convert notesfile data base formats.
Nfdump converts the specified notesfile to a portable ASCII format and writes it to standard output. Some diagnostics are produced on
stderr. Nfdump can be run by any user; access to a particular notesfile is governed by that notesfile's access list.
Nfload is used on the output from nfdump to create a new notesfile. The -D option specifies an alternate base directory for the notesfile.
If unspecified, this defaults to ``/usr/spool/notes''. Nfload reads standard input for the ASCII representation of the notesfile.
Typical use of these two programs occurs when converting an existing notesfile data base to a new format. The nfdump program should be
compiled with the older structure definitions while nfload is compiled with the newer structures. The data base can then be converted with
a shell script of the following nature:
mkdir .OLD
mv * .OLD
for i in `ls .OLD`
do
echo $i start
nfdump $i | nfload -D/usr/spool/newnotes $i
done
echo $i done
echo ALL DONE
rm -rf .OLD
This assumes that the old data base is in ``/usr/spool/notes'' and the new data base is to be placed in ``/usr/spool/newnotes''. After the
conversion is complete, one can move the old data base from ``/usr/spool/notes'' to ``/usr/spool/oldformat'' and the new data base from
``/usr/spool/newnotes'' to ``/usr/spool/notes''.
FILES SEE ALSO notes(1),
The Notesfile Reference Manual
AUTHORS
Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa)
Department of Computer Science
University of Illinois at Urbana-Champaign
Urbana, IL
Rob Kolstad (kolstad@convex.UUCP)
CONVEX Computer Corporation
Richardson, TX
University of Illinois NFDUMP(8)
Check Out this Related Man Page
NFPIPE(1) General Commands Manual NFPIPE(1)NAME
nfpipe - Insert articles into a notesfile
SYNOPSIS
nfpipe topic [ -t title ] [ -d ] [ -a ]
DESCRIPTION
Nfpipe reads standard input to create a note in the specified notesfile. The title of the note is specified using the -t parameter. The
-d flag specifies that this note is to have the director message flag set; if the author has no director privileges in the notesfile, this
flag has no effect. Specifying -a makes the note anonymous; if anonymous notes are not permitted this flag has no effect.
FILES
/etc/passwd for the users name
/etc/group for the users group
/usr/spool/notes the default notesfile data base
/usr/spool/notes/.utilities utility programs and online help the permission list for the notesfile `topic'
SEE ALSO notes(1), nfcomment(3), nfmail(8),
The Notesfile Reference Manual
AUTHORS
Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa)
Department of Computer Science
University of Illinois at Urbana-Champaign
Urbana, IL
Rob Kolstad (kolstad@convex.UUCP)
CONVEX Computer Corporation
Richardson, TX
University of Illinois NFPIPE(1)
Hi everyone
I'm new in this forum, I have a question:
I have a script with many sql staments and I have the spool command at the beginning and the 'spool off' at the end of the script. But, I want to write after each sql stament to a log file not at the end. How can I do it?
Thanks (0 Replies)
Hi All,
I am spooling the data some sql queries into a single file but wanted to know how to format the data of the file generated by spool.
#!/bin/sh
unset -f USAGE
USAGE () {
clear
echo "############################USAGE#######################\n"
echo "Incorrect number of... (2 Replies)
I'm trying to find or create a Perl script that:
Checks for and creates these files:
notes
notes.1
notes.2
notes.3
notes.4
The first represents the current log file and the others are older versions. Each time the script runs it would check for the existence of notes.3 and, if it exists,... (3 Replies)
Hi All,
I have one Question, that is it possible to check the spool output?
What i mean to say is "spool the file only if data exists"
I am trying to fetch data from a sql query, and want to generate a file, on a condition that the file should be generated, only if the output of the sql... (5 Replies)
Hi Friends,
I am trying to spool the data from Teradata. The rpoblem which i am facing is , the coulmn data is appended with ".(dot)" for some coulmns. Please find the below data :
data i want in file :
1|BANG|KINR|3456
2|KIBNJ|UIE|6347
3|JEEM|Y34E|3874
data which is spooling... (6 Replies)
I am using a unix shell script to create and then FTP the file to a mainframe application.
The unix script uses spool to extract data from a Oracle database. The data is extracted into a text file.
The text file is having all the data I need but not in the correct format. The rows of... (1 Reply)
Hello,
I have a requirement where i have to spool some data to a file. i have achived the desired target but m facing one issue. i have attached the script and the output.
i checked the data length in the table but it is only 45 for column 1.
can you tell me how to remove these extra... (4 Replies)
Hello All,
I'm trying to spool an oracle table data into a csv file on unix server but the complete record is not being extracted. The record is almost 1000 characters but only 100 characters are being extracted and rest of the data getting truncated.
I'm setting below options :
SET... (4 Replies)