Sponsored Content
Top Forums Shell Programming and Scripting Script Needed Urgent in shell or PERL!!!!!!!!!!!!!!!!!!!! Post 302142016 by aajan on Wednesday 24th of October 2007 01:25:11 AM
Old 10-24-2007
Script Needed Urgent in shell or PERL!!!!!!!!!!!!!!!!!!!!

My I/p FIle

#%npr
#
{
{
collectionBeginTime_Date 19Jul2007
granularityPeriod 900
NODEID BSC19
RLC_Raw_Blocksize_CS2 2048
START_DATE 19Jul07
measTimeStamp_Date 20Jul2007
COLLECTION_INTERVAL_MINS 15
RLC_User_Blocksize_CS2 1024
collectionBeginTime_Time 23:45:00
RLC_User_Rate_CS2 512
START_TIME 23:45
measTimeStamp_Time 00:00:00
CELLGPRS {
CS12DLACK 2880
CELLMOVED 0
ALLPDCHSCAN 90
ALLPDCHACTACC 1
PCHALLATT 14
PDRAC 21
#%npr
#
{
{
collectionBeginTime_Date 19Jul2007
granularityPeriod 900
NODEID BSC19
RLC_Raw_Blocksize_CS2 2048
START_DATE 19Jul07
measTimeStamp_Date 20Jul2007
COLLECTION_INTERVAL_MINS 15
RLC_User_Blocksize_CS2 1024
collectionBeginTime_Time 23:45:00
RLC_User_Rate_CS2 512
START_TIME 23:45
measTimeStamp_Time 00:00:00
CELLGPRS {
CS12DLACK 2880
CELLMOVED 0
ALLPDCHSCAN 90
ALLPDCHACTACC 1
PCHALLATT 14
PDRAC 21
PAGCSBVCI 0
DLTBFEST 15
TBFPREEMPEST 0
PPAGCSBVCI 0
PREEMPTPDCH 0
FAILDLTBFEST 0
CS12ULSCHED 28
OBJ_ID 16834
ALLPDCHACC 21
suspectFlag 00
MOVECELLTBF 0
MC19ULSCHED 6
CS12DLSCHED 12
PCHALLFAIL 0
CS12ULACK 6720
MC19QULSCHED 0
PREEMPTTBF 0
ALLPDCHPEAK 3
MC19ULACK 1344
PDPRAC 0
MC19QULACK 0
}
CELLGPRS {
CS12DLACK 720
CELLMOVED 0
ALLPDCHSCAN 90
ALLPDCHACTACC 7
PCHALLATT 15
PDRAC 15
PAGCSBVCI 0
DLTBFEST 8
TBFPREEMPEST 0
PPAGCSBVCI 0
PREEMPTPDCH 0
FAILDLTBFEST 0
CS12ULSCHED 7
OBJ_ID 16835
ALLPDCHACC 37
suspectFlag 00
MOVECELLTBF 0
MC19ULSCHED 41
CS12DLSCHED 3
PCHALLFAIL 0
CS12ULACK 1680
MC19QULSCHED 23
PREEMPTTBF 0
ALLPDCHPEAK 3
MC19ULACK 28432
PDPRAC 0
MC19QULACK 22560
}


Like this i wil be having many blocks in my i/p file..My Task is to get the value ALLPDCHSCAN 90 if the value of OBJ_ID is 16484..

Very urgent

Thanks in Advance
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Calling CGI Perl in Shell script [urgent]

All I want to call a perl program from my shell script. Please help me. I want to call through URL only. Like " http://www.test.com/CGI-bin/test?test=value" Please help to write this script. Thanx in advance. Thanking you Regards Deepak Xavier (0 Replies)
Discussion started by: DeepakXavier
0 Replies

2. Shell Programming and Scripting

help needed in shell scripting......urgent

Dear friends, please help me to solve following problem. I'm running a frontend application from which i'll be invoking the shell script with arguments as given below -driver -w -p "ABC XYZ" -S -ds con -dn "abc xyz" i am getting $1=-driver $2=-w $3=-p $4="ABC $5=XYZ" $6=-S $7=-ds... (3 Replies)
Discussion started by: swamymns
3 Replies

3. Solaris

Urgent help needed - shell script

Dear friends, I am trying to prepare a shell script which do the following task. Being a beginner in scripting I need a bit of help from you all for shell script which does the following job. 1.Check for existence of a file in a shared directory (at some remote location ) once in a day ... (3 Replies)
Discussion started by: aarora_98
3 Replies

4. UNIX for Dummies Questions & Answers

Urgent Script Needed

I need shell script code for the following 1. Read syscat.columns after connecting to DB2 using SQL cursor 2. Read the output of the previous SQL command in the shell script 3. Perform insertions and deletions in the output of step 1 Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies

5. Shell Programming and Scripting

Script Needed!!!!!!!! Urgent

How to find unique lines in a file without using 'uniq' and 'sort' command in k shell... (3 Replies)
Discussion started by: aajan
3 Replies

6. Shell Programming and Scripting

script needed urgent

Lot of dump files are created and filling up our file system. ( i.e. /Aix/app/clone1/heapdump659904.1188950424.txt, Aix/app/clone2/heapdump87878.88798.txt) . We got an alert that the filesystem was full and saw there were heapdumps from a few months ago that we didn't know about. It would be... (2 Replies)
Discussion started by: jayaramanit
2 Replies

7. UNIX for Advanced & Expert Users

Urgent help needed for ksh shell setting

Today I logged as root on my HP-UX server and by mistake executed below command # ksh -i vi Then onwards for every root logging the ksh shell giving wired output to every command e.g # ls kÚ .brw_history .brwpause .brwtmp : : : 1+~H4p+À+~KÑ 1+Ðè d 15kÚ 1d+~èYÑd:ðè½h|À+~èY4:àh|À+ And so... (6 Replies)
Discussion started by: zing_foru
6 Replies

8. Shell Programming and Scripting

Script Needed Urgent!!!!!!!!!

Hi Guys, Need a script!!!!!!!!!!! Sample File: ./R1/new/svp920m02f.4gl ./R1/new/svp921m01.4gl ./R1/new/svp950m01.4gl ./R1/new/svp950m01d.4gl ./R1/new/svp950m01g.4gl ./R1/new/svp955m01.4gl ./R1/new/svp960m01.4gl ... (4 Replies)
Discussion started by: aajan
4 Replies

9. Shell Programming and Scripting

Needed urgent help with shell script

Hi, Thanks for the reply to the previous posting.I need a shell script to the following.I am entirely new to the comapny and please help me with this. 1) Create the file with a timestamp i.e. nrt_readership.mmddyyyyhhmm 2) The processing job will look for files of the pattern... (0 Replies)
Discussion started by: pharishraja
0 Replies

10. Shell Programming and Scripting

Shell or perl script needed

Hi! I have a curl call which gets me the following output: curl http://hostname1.qa.com:8888/getlist OUTPUT - { "token" = "201119041112"; "apps" = { "PaymentApp" = "http://hostname1.qa.com:2333/cgi-bin/Jboss/PaymentApp-EMEA.woa/paymentInfo"; "OrderConsumer" =... (4 Replies)
Discussion started by: jacki
4 Replies
vdltodmx(1)						      General Commands Manual						       vdltodmx(1)

NAME
vdltodmx - dmx configuration file parser and printer SYNOPSIS
vdltodmx infile outfile DESCRIPTION
vdltodmx reads the input file, which should be in VDL configuration file format. After a successful parse, a file in Xdmx configuration file format is written to the output file. The VDL file format is used with xmovie, which is available from http://www.llnl.gov/icc/lc/img/xmovie/xmovie.html EXAMPLE
Given the following VDL-format file: 0 2 # # 2560 2048 Left two-thirds [restrict=*:2] 2 :2.1 1280 2048 0 0 0 0 :2.2 1280 2048 1280 0 0 0 4 1280 1024 0 0 1280 1024 0 1024 1280 1024 1280 0 1280 1024 1280 1024 # 2560 2048 Right two-thirds [restrict=*:2] 2 :2.2 1280 2048 0 0 0 0 :2.3 1280 2048 1280 0 0 0 4 1280 1024 1280 0 1280 1024 1280 1024 1280 1024 2560 0 1280 1024 2560 1024 the following DMX-format file will be produced: # # virtual "Left two-thirds" 2560x2048 { display :2.1 1280x2048; display :2.2 1280x2048 @1280x0; } # virtual "Right two-thirds" 2560x2048 { display :2.2 1280x2048; display :2.3 1280x2048 @1280x0; } BUGS
If the VDL file is not in the expected format, the program will probably dump core. SEE ALSO
Xdmx(1), xdmxconfig(1), vdl(3), xmovie(1) X Version 11 xorg-server 1.15.0 vdltodmx(1)
All times are GMT -4. The time now is 06:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy