Hello Im working on a script for work. This is what I got so far:
[#!/bin/ksh]
[# select working directory]
[dir_Name=/u/chry3770]
[cd ${dir_Name}]
[check_status=$(status_3770 chry3770)]
[echo ${check_status}]
this will check some lines for connectivity now my question
when I put the command in unix i get this output:
Checking status of /u/chry3770 3770 Session services.
B377004e : Script input: * stts
B377003d : (1)-----------------------------------------------------------------
B377003e : (1) Status for PU:VISCHPU - LU:VISCHLU2
B377003f : (1) Session States SSCP-LU: CONTENTION LU-LU: CONTENTION
B3770040 : (1) RUs sent = 0
B3770041 : (1) RUs received = 78105
B3770042 : (1) ANY Output File = chry3770.fil.1
B377003d : (1)-----------------------------------------------------------------
B377003d : (2)-----------------------------------------------------------------
B377003e : (2) Status for PU:VISCHPU - LU:VISCHLU1
B377003f : (2) Session States SSCP-LU: CONTENTION LU-LU: CONTENTION
B3770040 : (2) RUs sent = 0
B3770041 : (2) RUs received = 15888
B3770042 : (2) ANY Output File = chry3770.fil.2
B377003d : (2)-----------------------------------------------------------------
my output when I run the script is the following:
Checking status of /u/chry3770 3770 Session services. B377004e : Script input: badfils bx_7 chry3770.fil.1.1.11 chry3770.fil.1.1.3 chry3770.fil.1.1.7 chry3770.fil.1.1.9 chry3770.log chry3770.log.1 error job_end_script logs start_chry3370.011207 start_chry3770 start_chry3770.011207 start_chry3770.070202 start_chry3770.org start_chry3770bak.061506 ttab_filt unknown work stts B377003d : (1)----------------------------------------------------------------- B377003e : (1) Status for PU:VISCHPU - LU:VISCHLU2 B377003f : (1) Session States SSCP-LU: CONTENTION LU-LU: CONTENTION B3770040 : (1) RUs sent = 0 B3770041 : (1) RUs received = 78105 B3770042 : (1) ANY Output File = chry3770.fil.1 B377003d : (1)----------------------------------------------------------------- B377003d : (2)----------------------------------------------------------------- B377003e : (2) Status for PU:VISCHPU - LU:VISCHLU1 B377003f : (2) Session States SSCP-LU: CONTENTION LU-LU: CONTENTION B3770040 : (2) RUs sent = 0 B3770041 : (2) RUs received = 15888 B3770042 : (2) ANY Output File = chry3770.fil.2 B377003d : (2)-----------------------------------------------------------------
is there anything I can do so that my output is the same with the actual one.
Thanks in advance ill really apreciate an answer.