Is there a way to set up a sas program to stop when it encounters an error? And a secondary question is whether there is some kind of error notification capability directly in sas. This is for an automated sas program on linux.
I don't even know correct terminology for this type of work so I'll try to explain...
1. I have about 50 groups that each have a varying number of people in them. For example, GroupA=100, GroupB=50, etc.
2. I would like to assign them each into one panel within a 3x3 matrix in a way where all...
I have template with a customized field that uses a formula and graphical indicators.
Is there a way to protect specific fields of a template so that a proj mgr cannot change the customized field?
I am using Project 2000 and trying to set up a master project plan that is linked to multiple subprojects plus a resource pool that includes our internal dept.
Ideally, I'd like the RESOURCE POOL TO BE PROTECTED but also allow the subproject mgr to ADD OTHER RESOURCES TO THEIR SUBPROJECT. How...
I know cron jobs will send me mail to my unix account with any error messages. Plus I send out email via programs running on unix.
In both cases, I receive unix mail containing the error messages or a response from my original email. But I'd like to forward all this to my company email since I...
I'm trying to find a firewire card but my computer is a Gateway micro tower (compact in size) and therefore requires a "half-height" firewire card. I guess this size is no longer a standard and so I can't seem to find one. Anyone know where I should look?
I have a pipe-delimited flat file (say, myfile.txt) that looks something like...
2004-03-16 | user | action
Within a shell script, I'd like to add some text at the end of each line so that the resulting file would look like...
2004-03-16 | user | action | 1
What is the easiest way to...
I have a flat file and am trying to figure out if it is delimited with any non-printing characters (like tabs). In vi, I just see blanks between the fields, so is there a way to show ALL characters to determine the delimiter?
I have a script that contains something like the following in order to ftp in some files...
ftp << EndFTP
open thatserver
ascii
prompt
get newfile.log
close
EndFTP
I have it set to run daily in crontab and it works fine. However, I receive an email in my unix mailbox each time this script...
I'd like a script to complete only if it is the first Monday of the month. Can this be done in the crontab file or do I have to do an if/then within the script? If the latter, how?
I'm using the "lpr" command to print to a network printer but the file contains long lines of text between line breaks so the lines bleed off the page and do not get printed. So how can I get all the text printed?
I am trying to autoconnect using .netrc from unix to a windows machine. The access has been set up but when I set up the .netrc file with...
machine windowshost login domain\mylogin password mypassword
...I get the error...
User domainmylogin cannot log in.
Login failed.
Please login with...
I'm trying to ftp in a file if it doesn't already exist on my local host. The code is something like this...
mydir=/mydir
if [[ ! -s myfile ]]
then
ftp << EndFTP
open remotehost
ascii
prompt
cd /opt/newdir
get remotefile.log $mydir/myfile
close...
I have 3 "blocks" of code and I want to run them sequentially only after the previous successfully completes. How do I do this when it involves a block of code (eg, "for" statement) as opposed to just a simple command? Sample code is below.
# BLOCK 1: "sas" invokes...
I have a very long file and just want to standard out certain sections, say the first 1000 lines or lines 1001 to 9000. Seems simple enough, but it's been awhile for me!
I use CR 8.5 and have an existing report to which I need to add another table and edit the selection formula. So I added the table and created the link in the Visual Linking Expert. Then edited the selection criteria by going to Report > Edit Selection Formula > Record.
But when I try to run...
I've been given a Crystal report and need to figure out how it was created. I have CR v8.5. I can find the sql code by going to Database > Show SQL Query but there are calculated fields in this report which aren't captured in the sql code. I can see the individual formulas of these fields by...
I have a text file that shows ^L. I'm guessing this is a page break because when I mailx it and I try to print the email, I get multiple pages. How do I get rid of it? I know I could just use sed and if that's true, how do I identify that character?
This is my first time trying to schedule a task. I have a .bat file that I am trying to schedule and got the following result in the log. I just followed the wizard and did not do any "advanced" changes. What do I need to do?
"unix_to_pc.job" (unix_to_pc.bat) 5/14/2003...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.