Search found 26 matches

by Mahendra
28 Jan 2014 11:03
Forum: DOS Batch Forum
Topic: comparision of two commands output in UNIX/LINUX
Replies: 2
Views: 3159

comparision of two commands output in UNIX/LINUX

Good Morning..!! Thanks in advance for suggestions... The solution required in linux and UNIX i have two commands output. i want to compare from 1st command to 2nd command out and list out the difference items runmqakm -cert -list all -db /var/mqm/qmgrs/ssl/key.kdb -pw agsgsg -type cms ! verisign ce...
by Mahendra
09 Jan 2014 10:36
Forum: DOS Batch Forum
Topic: sub strings extraction from multiline output
Replies: 18
Views: 16593

Re: sub strings extraction from multiline output

excellent solution....Many thanks....i have tested many scenarios....all most all the scenarios are working.....
by Mahendra
08 Jan 2014 11:06
Forum: DOS Batch Forum
Topic: sub strings extraction from multiline output
Replies: 18
Views: 16593

Re: sub strings extraction from multiline output

There other limitations to use...., like...it will always preferable single script. because to reduce the dependency of other script. size of the release bundle.....
by Mahendra
08 Jan 2014 10:28
Forum: DOS Batch Forum
Topic: sub strings extraction from multiline output
Replies: 18
Views: 16593

Re: sub strings extraction from multiline output

due to limitations, The extra scripts are not allowed to copy in the release bundle with out documentation and information to all the teams. so, it will be preferable single script. The solution provide in the earlier conversations is not working for all the scenarios. it is working for the first ch...
by Mahendra
07 Jan 2014 21:22
Forum: DOS Batch Forum
Topic: sub strings extraction from multiline output
Replies: 18
Views: 16593

Re: sub strings extraction from multiline output

is there anyway without using any third party tools..i.e pure batch script.
by Mahendra
07 Jan 2014 10:48
Forum: DOS Batch Forum
Topic: sub strings extraction from multiline output
Replies: 18
Views: 16593

sub strings extraction from multiline output

i request you to please help to extract the sub strings from the multiline output. Thanks in advance we have a command in MQ in display the channel status. that command display the status of different types of channels ( SVRCONN/CLUSSDR/CLUSRCVR/SDR/RCVR). all the types channels does not have all co...
by Mahendra
05 Jan 2014 08:30
Forum: DOS Batch Forum
Topic: output data alignment.
Replies: 6
Views: 6027

Re: output data alignment.

excellent,...:0
Many thanks for the solution.
by Mahendra
04 Jan 2014 03:36
Forum: DOS Batch Forum
Topic: output data alignment.
Replies: 6
Views: 6027

Re: output data alignment.

i am looking to print out in perfect grid format of output for variable length of strings.
by Mahendra
04 Jan 2014 03:35
Forum: DOS Batch Forum
Topic: output data alignment.
Replies: 6
Views: 6027

Re: output data alignment.

thanks...i got the solution for that topic...
by Mahendra
04 Jan 2014 03:00
Forum: DOS Batch Forum
Topic: output data alignment.
Replies: 6
Views: 6027

output data alignment.

I have below script and i am able to get the required info. but the string sizes are different in the output. so that i want to print the output in a grid format like as follows. could some one please advice me to print the output in grid format. ASDF | 67 | ujuhh QWEDD | 54 | jhj @echo off setlocal...
by Mahendra
06 Dec 2012 12:07
Forum: DOS Batch Forum
Topic: Replace a string from a file
Replies: 9
Views: 7861

Re: Replace a string from a file

yes, i know......some part of the job suppose to be done with Batch script only ...so it will be required to be done everything with batch job only.
by Mahendra
06 Dec 2012 11:48
Forum: DOS Batch Forum
Topic: Replace a string from a file
Replies: 9
Views: 7861

Re: Replace a string from a file

i am sorry ...only batch script permited i have a configuration file qm.ini like below.....i want to replace a string , if config file contains "LogBufferPages=0" LogBufferPages=0 will be replaced "LogBufferPages=512" with out modifying any other alignment/text in the config file...
by Mahendra
06 Dec 2012 11:13
Forum: DOS Batch Forum
Topic: Replace a string from a file
Replies: 9
Views: 7861

Replace a string from a file

Hi Good Morning all....could anybody please help me to achieve solution for this. ...Thanks in advance. i have a configuration file qm.ini like below.....i want to replace a string , if config file contains "LogBufferPages=0" LogBufferPages=0 will be replaced "LogBufferPages=512"...
by Mahendra
07 Nov 2012 02:53
Forum: DOS Batch Forum
Topic: Data manipulation and alignment
Replies: 11
Views: 9185

Re: Data manipulation and alignment

@echo off setlocal EnableDelayedExpansion echo --------------------------------------------------------------------------- echo Queue ^| type ^|put ^| get ^|Maxdepth^|cudepth^|usage echo ---------------------------------------------------------------------------- set details= echo "display ql(*...
by Mahendra
06 Nov 2012 03:32
Forum: DOS Batch Forum
Topic: Data manipulation and alignment
Replies: 11
Views: 9185

Re: Data manipulation and alignment

Excellent solution .....Many thanks for your inputs