Sponsored Content
Top Forums Shell Programming and Scripting I want a script to view the complete log information of data stage job from UNIX IBM AIX. Post 302751571 by victory on Friday 4th of January 2013 06:44:29 AM
Old 01-04-2013
Code:
#!/bin/ksh
echo `touch /home/afuarc2/$i.jobstatus.txt`
for i in INT_SEQ_MST_PLM_RMS_SKU_PACK_000 INT_SEQ_MST_PIM_LEG_ORG_DIV_REG_000 

do
   `dsjob -logdetail SMART $EachLine >>  `
done > /home/afuarc2/JobList.txt

I have prepared the above script to get the log files in home directory.
But I want those files to my mail id.

I tried echo <subject> | mail -v <mail id>.

how to add this command to my script to get the log to my mail id.

---------- Post updated at 06:44 AM ---------- Previous update was at 06:43 AM ----------

can you please help me out.

Last edited by Franklin52; 01-04-2013 at 12:53 PM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

HELP! UNIX AIX IBM C Compiler!

I currently have an IBM AIX UNIX MACHINE WITH VERSION 4 operating system. Already installed is a 3.1.4 version of the C Compiler that comes with the package. For the longest time this software ran fine until we changed our Company server and the IP addresses were changed. Now when the... (2 Replies)
Discussion started by: bobarob
2 Replies

2. AIX

CPUs information on IBM AIX 4.3

Hi, I would like to know how can i get information like %user %kernel %idle etc for each cpu. Getting the infomation for the complete system cpu usage is given below but can you help me in getting each cpu information from cpu 0 to cpu n-1. Is there any kernel symbol for that and if there is how... (0 Replies)
Discussion started by: uiqbal
0 Replies

3. UNIX and Linux Applications

Log files to view job executed in Autosys -- Help ASAP

Hi all, I really need your help ASAP on this. Below is the description of my problem and a sketch of Autosys Job Activity Console ++++++++++++++++++++++++++++++++ File View Options +++++++++++++++++++++++++++++++ Job Name Description Status Command Machine... (1 Reply)
Discussion started by: sakal_woman
1 Replies

4. AIX

Migrating from HP Unix to IBM AIX 6.1

HI , We are in process to migrate from UNIX to AIX 6.1 version . I need to understand differences between commands that are used in UNIX and AIX. I want to make sure AIX has all command options avaliable from HP Unix.If any mismatch it should be addressed . Since many commands are used it... (2 Replies)
Discussion started by: Perlbaby
2 Replies

5. Shell Programming and Scripting

Cron job is not working in the desired manner on IBM AIX

Hi, I have created a cron job on IBM AIX but it is not working in desired manner ! Here are the steps which I have followed :- #!/bin/ksh #------------------------------------------------------------------ find /some/file/at/the/user/side/test.log -exec cp {}... (8 Replies)
Discussion started by: acidburn_007
8 Replies

6. Windows & DOS: Issues & Discussions

AutoSys Job not waiting for script to complete

I'm not sure if this is the right place to post this issue...but here goes... I am converting a set of windows jobs from Control-M to AutoSys r11.3. The same command line is being executed in both systems. The Control-M job runs to compltion in about 1.5 hours, waiting for the entire batch... (3 Replies)
Discussion started by: ajomarquez
3 Replies

7. Shell Programming and Scripting

UNIX command/script svn log to get just the files information

Just need the directory name and files changes information in svn log This is my svn log verbose: svn log -v //test/svn/Demo/branches/HelloWorld/Batch --limit 2 ------------------------------------------------------------------------ r133 | testuser1 | 2013-04-02 18:22:28 -0400 (Tue, 02 Apr... (22 Replies)
Discussion started by: iaav
22 Replies

8. UNIX for Dummies Questions & Answers

Data stage - UNIX

HI I am a datastage (ETL) developer , i have sequence and it has got one job to run , by using UNIX / Shell script , i have to find " after running the job in sequence successfully , i need to find whether it has inserted any no of records into the table or not "? both source and targets DB2... (2 Replies)
Discussion started by: sopinti
2 Replies

9. UNIX for Beginners Questions & Answers

Automation script for email alert when a job get complete with status successful.

Guyz, Please let me know about script which is to be sending an automatic email to particular mail id's when a monotoring job get complete with status successful. (1 Reply)
Discussion started by: Rehan Ahmad
1 Replies

10. Shell Programming and Scripting

Run the Script from any stage by updating data from Oracle Table.

I have 100 Scripts, each containing 10-15 SQL's in them. Each Script run for 40 mins to 1 hour 30 mins. In the event of Failure in any step, if i re-start the Script, it will start running from the beginning. Which is waste of time. So in order handle this, i made the script to run from the... (7 Replies)
Discussion started by: kiran1992
7 Replies
GLGETSUBROUTINEUNIFO(3G)					   OpenGL Manual					  GLGETSUBROUTINEUNIFO(3G)

NAME
glGetSubroutineUniformLocation - retrieve the location of a subroutine uniform of a given shader stage within a program C SPECIFICATION
GLint glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name); PARAMETERS
program Specifies the name of the program containing shader stage. shadertype Specifies the shader stage from which to query for subroutine uniform index. shadertype must be one of GL_VERTEX_SHADER, GL_TESS_CONTROL_SHADER, GL_TESS_EVALUATION_SHADER, GL_GEOMETRY_SHADER or GL_FRAGMENT_SHADER. name Specifies the name of the subroutine uniform whose index to query. DESCRIPTION
glGetSubroutineUniformLocation returns the location of the subroutine uniform variable name in the shader stage of type shadertype attached to program, with behavior otherwise identical to glGetUniformLocation(). If name is not the name of a subroutine uniform in the shader stage, -1 is returned, but no error is generated. If name is the name of a subroutine uniform in the shader stage, a value between zero and the value of GL_ACTIVE_SUBROUTINE_LOCATIONS minus one will be returned. Subroutine locations are assigned using consecutive integers in the range from zero to the value of GL_ACTIVE_SUBROUTINE_LOCATIONS minus one for the shader stage. For active subroutine uniforms declared as arrays, the declared array elements are assigned consecutive locations. ERRORS
GL_INVALID_ENUM is generated if shadertype or pname is not one of the accepted values. GL_INVALID_VALUE is generated if program is not the name of an existing program object. SEE ALSO
glGetProgram(), glGetActiveSubroutineUniform(), glGetActiveSubroutineUniformName(), glGetUniformLocation() COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. AUTHORS
opengl.org opengl.org 06/10/2014 GLGETSUBROUTINEUNIFO(3G)
All times are GMT -4. The time now is 03:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy