Hi,
I have a Integration stream let’s say abc_ Integration, and it has a child Dev stream
1. on Monday I have checked in few files in Child stream, made a base line and delivered that base line to integration stream. base line name : baseline_monday
2. on Tuesday again I did same thing. base...
Hi
I have a date is mm/dd/yyyy format, I nned to check if this date is 6 months older or not respective current date.
Please help me with smallest code possible.
Hi,
I have created autosys Jobs to run perl script on various Windows servers to get the system information of those servers.
looking for logon server: information.
when I am running systeminfo command on various machines cmd promt I am getting Logon server: valid name, but when same systeminfo...
Before ,$a = "\"". $a . "\""; Now I ahve added two line of code, which is making my string lil diffrent but in better shape.
my(@mySplitWords) = split (/,/, $a);
$a = join(", ",@mySplitWords);
$a = "\"". $a . "\"";
print CSV_FILE_handler $a;
close CSV_FILE_handler;
In out Put CSV file the...
One more small problem with handling Commas in CSV.
My variable $a contains a string : 31,456987321
I want to retain this comma and print this string as it is in single column of CSV. So have enclosed the $a in double quotes
i.e.,
$a = "\"". $a . "\"";
print CSV_FILE_handler $a;
close...
Hi,
I need to Declare 5 strings with Blank space,
my($a) = " ";
my($b) = " ";
my($c) = " ";
my($d) = " ";
my($e) = " ";
I am trying to do it in sinle line as below, but getting error,
my($a, $b, $c, $d, $e) = (" ");
How should I do this, just to make my code look better?
What is advisable way?
My array contains Huge log file, with each array element holding each line of the log.
Eg Log File:
I am Fresher line 1
I am Fresher line 2
I am Fresher line 3
.
.
.
I am Fresher line 64
I am Fresher line 65
Yo… I am not a fresher, starting my assignments line 66
Start of the first assignment...
Mikron Thanks for suggestion, But how can I tell my script that I am using field_delimiter = semicolon, string delimiter = quote
I am very new to perl (One or two weeks), and using field_delimiter = comma, string delimiter = Double quotes till now.
What code needs to be included so that my...
Hi mikrom, with some investigation I found the problem but still unable to find solution.
My actual Command is: %RKS_PERL_EXE% %RKS_PERL_COMMON_SCRIPT_LOCATION%\RksBoxReBoot.pl -e RKS_BOX_NTPROCINFO_EXE -s "cmd.exe,cmd,perl.exe,perl,<Unknown>" -k 1 -i 180 -u PR2AUTOSYS
As I am using comma as a...
I am new to Perl. I am processing thousands of autosys job logs and printing the information in CSV file. First column captures Job Name, second: start date and Time, Third: End date and Time, and last fourth : Command (Command the Autosys job is running).
Command can have multiple commas in...
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.