Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Mayur09

    Clear Case: Create spnap shot view from integration stream with previous base line.

    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...
  2. Mayur09

    Given date is 6 months older or not

    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.
  3. Mayur09

    Logon server detail

    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...
  4. Mayur09

    How to print string with comma in single column of csv

    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...
  5. Mayur09

    How to print string with comma in single column of csv

    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...
  6. Mayur09

    declare multiple strings with blank space in one line

    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?
  7. Mayur09

    Break array in parts at desired desired string.

    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...
  8. Mayur09

    How to print string with comma in single column of csv

    No, It didn’t work...!
  9. Mayur09

    How to print string with comma in single column of csv

    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...
  10. Mayur09

    How to print string with comma in single column of csv

    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...
  11. Mayur09

    How to print string with comma in single column of csv

    while( <RKSAutosysJobLog> ) { chomp; $CurrentLine = $_; if( $CurrentLine =~ /^\* Started at\s+(.+)$/ ) { my(@mySplitWords1) = split(/ /,$1); $StartDate = $mySplitWords1[0]; $StartTime = $mySplitWords1[1]; } if( $CurrentLine =~...
  12. Mayur09

    How to print string with comma in single column of csv

    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...

Part and Inventory Search

Back
Top