10-31-2008
great!
can i set the value of the run variabile via cobol program?
#
# - program execution-
CntlDebug AFG21002
if [ $? -gt 0 ] ; then
anim $preflnk/sgpdx3
else
cobrun $preflnk/sgpdx3
fi
if [ $? -gt 0 ] ; then
Exitko
return 1
fi
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
yea, I'm a really dummie, I have been using Knoppix for a while on a bootable disk, but wanting to switch to Slackware, is this a good decision? could any of you link me to a slackware downloadable site? thanks
-Jace:D (7 Replies)
Discussion started by: Jace
7 Replies
2. Shell Programming and Scripting
I am using awk in my .ksh script but when I am trying to run in windows
its not recognising awk part of the ksh script , even when I changed it to gawk it does not work, this is how my .ksh and .bat files look like.
thanx.
#!/bin/ksh
egrep -v "Rpt 038|PM$|Parameters:|Begin |Date: |End... (1 Reply)
Discussion started by: 2.5lt V8
1 Replies
3. Shell Programming and Scripting
If I cat a file
And want to go to the first instance of a particular value - what command would I use?
And then from that point where I jumped to search for another value - but only search from that point forward not before the file?
Thanks~ (2 Replies)
Discussion started by: llsmr777
2 Replies
4. Shell Programming and Scripting
Hi all,
I need to create a bash script that reads a txt file on a remote (Windows 2003) server, gets the IP-addresses out of it and then fetches the folders to copy out of another txt file. (all files are auto-generated) The IP addresses that don't have a folder_list file should be ignored. At... (31 Replies)
Discussion started by: laurens
31 Replies
5. Shell Programming and Scripting
Ok apologies if this is trivial or doesn't make sense but I am quite new to korn shells;
So I have a .ksh batch file located in a folder of my choosing, I want to run this file in a korn shell.
The problem though is that I want to get VBA code to do this. I have (VBA) code which opens command... (1 Reply)
Discussion started by: cjsewell
1 Replies
6. Shell Programming and Scripting
Hi there,
in near future I have to change my work surrounding from HP UNIX to Windows Vista (great to get rid of old hardware :), but bad to loose UNIX :( ). As I heavily use KSH scripts to do my job, I was wondering, if there is any HowTo available, supporting me in re-writing the scripts to... (4 Replies)
Discussion started by: Joe-K7
4 Replies
7. Shell Programming and Scripting
Hi,
can someone point out a solution to my problem below.
Within a shell script TEST.ksh I have to run two commands CmdA & CmdB one after the other as below.
-------------
TEST.ksh
#!/usr/bin/ksh
A
B
-------------
I am running this script from KSH with PID 12345 as below.
... (5 Replies)
Discussion started by: krishnaux
5 Replies
8. Shell Programming and Scripting
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Discussion started by: goddevil
2 Replies
9. Shell Programming and Scripting
Hi, i want the loop to move to 3rd item, when it encounters 2 while runing
for i in 1 2 3 4 5 6
do
if
then
#jump to element 3
else
echo $i
fi
done
o/p
1
3
4
5
6 (4 Replies)
Discussion started by: sam05121988
4 Replies
10. Shell Programming and Scripting
HI I have the following output from an autosys command .
Now I would like to investigate further .i.e
Start Dependent
Job Name Status ... (3 Replies)
Discussion started by: ptappeta
3 Replies
it(8) System Manager's Manual it(8)
NAME
it - configure a system after installation
SYNOPSIS
/sbin/it
DESCRIPTION
The it program executes scripts before transferring control of the system to the user, typically before the first user logs in. The it
program executes programs that collect information such as system name, passwords, timezone, and current date.
A system can be in a run level at any given time; each run level has a specific group of processes that run at that level. The init program
operates in one of four run levels: 0, s, 2, or 3. The run level changes when init is invoked by a privileged user. The it program is run
from /etc/inittab whenever the system is booted or rebooted, or when a level transition occurs for some other reason, such as within init3.
The it program first determines which run level the system is coming up under. Next it turns on shared libraries and swap and then searches
for any /sbin/it.d/run-level directories, where run-level names a system run level; for example, 2.d, 3.d, 23.d, and so forth. If any such
directories exist, it collects the names of all files in those directories. These files are typically links to files in the /sbin/it.d/bin
directory and are created beforehand by itruns(8). After collecting the file names, it sorts them, eliminates duplicate references, orders
the names as specified by the data file /sbin/it.d/data/options.mask, executes the files, and finally removes the files it executed. After
all the files collected from the run level directories have been handled, it exits.
The /sbin/it.d/data/options.mask file contains a single line with a list of file names separated by colons. The it command executes col-
lected files in the order in which they appear from left to right in the options.mask file. Programs not listed in the options.mask file
are executed after those defined in options.mask. These "unspecified" programs are run in the order into which they were initially sorted;
that order is controlled by the LC_COLLATE environmental variable and the specifications in the /usr/lib/nls/loc/locale files.
FILES
Specifies execution priorities of files to be run by it Files to be linked by itruns(8) for execution by it
SEE ALSO
Commands: init(8), itruns(8), rc0(8), rc2(8), rc3(8), who(1)
it(8)