IZEA

Tuesday, April 23, 2013

GAYLE Storm Smashes Pune Warriors



It’s been a day of records in the history of IPL where Chris Gayle (RCB) holds most of it. In the Royal Challengers Bangalore - Pune Warriors India IPL clash, Gayle's fireworks will be remembered by cricket fans for long time.  With his stunning shots, RCB scored the highest T20 score - 263 for five wickets in their 20 overs. "It was one of those days. I got a good total. I can't say it's a decent total - it's a good total. All I had for breakfast this morning was a plain omelet, two pancakes and a hot chocolate." Gayle said after his brutal innings. 

Fastest Century in T20:


Chris Gayle's 30-ball century is fastest ever in IPL. Chris Gayle set a new record for the fastest century in professional cricket by reaching 100 off 30 balls. He scored 175 not out in just 66 balls with 17 sixes and 13 boundaries. He beats the previous 34-ball ton Twenty20 league record set by Australia's Andrew Symonds.  South African Richard Levi holds the record for fastest international T20 hundred in 45 balls against New Zealand in 2011 at Hamilton.  Pakistan's Shahid Afridi holds the record of fastest century in ODI (37 balls) while Viv Richards holds the record of fastest ton (56 balls) in Test history.

Interesting Tweets on Gayle’s show:

Brian Lara: I like that one wen "Gayle bats fielders become spectators and spectators become fielders" chilling @ home watching some awesome hitting.

Mahendra Singh Dhoni: Life is all about taking the right decision, seeing Gayle bat today I think I took the right decision of being a wicket keeper.

Suresh Raina: A ball just flew past Chepauk! Did it come from Chinnaswamy??????

Shilpa Shetty: Unbelievable inning by Gayle! Thank God we r not at the receiving end!!ha ha ha;) Incredible...he makes it all look so easy!

Dale Steyn: Oh no... Actually, Wow!!! This is insane!!

Darren Sammy: @henrygayle he's not human..He’s a tsunami mixed with a nuclear bomb

Saturday, April 20, 2013

ORA-1652: Unable to extend temp segment-RAC

Oracle Error:

ORA-01652: unable to extend temp segment by string in tablespace string 

Eg: ORA-1652: unable to extend temp segment by 128 in tablespace TEMP 

Cause:

In RAC environment, 2 reasons could cause this error.

Case-1:  No space available in the temp table space of which is being used.

Case-2: The second cause may have to do with the local temp segment not being able to extent space even though there is space in other instances.   

Action Plan:

In general, Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated. Normally, you would just add disk to TEMP to avoid the ORA-1652 error, but you can also wait for SMON to clean-up the TEMP segment.

CASE 1:

Find the free space in temp tablespace:

SQL> SELECT tablespace_name, file_name, bytes/1024/1024 size_in_mb from dba_temp_files;

SQL> select sum(free_blocks) from gv$sort_segment where tablespace_name = 'TEMP TABLESPACE NAME';

If the free block reads results '0', it signifies that there is no free space.

Work-around:

Add a new temp file to tablespace or resize the existing temp file.

To add a new file,
SQL> ALTER TABLESPACE tablespace_name ADD DATAFILE|TEMPFILE 'full path and file name' SIZE integer;      

To resize the existing temp file,
SQL> ALTER DATABASE DATAFILE|TEMPFILE ‘/u03/oradata/ temp02. dbf’ RESIZE 200M;

CASE 2:

In RAC, more sort segment space can be used from other instances, which can help resolve ORA-01652 more easily. 

SQL> select inst_id, tablespace_name, total_blocks, used_blocks, free_blocks from gv$sort_segment;

Where total_blocks & used_blocks ---> total temp segment space used &      
free_blocks ---> amount of space allocated to this particular instance.

If used_blocks = total_blocks and free_blocks = 0, it results in ORA-01652 error.

If ORA-01652 is causing the slowdown, SMON will probably not be able to process the sort segment requests. Try one of the following work-around:

1) Increase size of the temp tablespace

SQL> ALTER DATABASE DATAFILE|TEMPFILE ‘/u03/oradata/ userdata02. dbf’ RESIZE 200M;

2) Increase sort_area_size and/or pga_aggregate_target

SQL> alter system set sort_area_size = 32765 scope=both;

SQL> alter session set sort_area_size = 32765 (to modify in the current session itself)

SORT_AREA_SIZE specifies (in bytes) the maximum amount of memory Oracle will use for a sort. After the sort is complete, but before the rows are returned, Oracle releases all of the memory allocated for the sort, except the amount specified by the SORT_AREA_RETAINED_SIZE parameter. After the last row is returned, Oracle releases the remainder of the memory.

SQL> select inst_id, file_id, extents_cached, extents_used from gv$temp_extent_pool order by 1,2;

In RAC, extents are allocated from all temporary files uniformly. There are also changes to file header block during this operation. This is one of the reason, to create many temporary files in RAC. If you have 24 nodes in your RAC cluster, yes, that would imply that you would have to create 24 temp files to the TEMP table space.
 

Friday, April 19, 2013

How to Compile Cobol Program in Windows

The steps for compiling COBOL locally are:
  • Install Microfocus NetExpress
  • Set PS_HOME and COBROOT
  • Navigate to PS_HOME/Setup in cmd prompt and execute below command.

CBLBLD CompileDrive \CompileDirectory

Eg: CBLBLD C:  \TEMP\COMPILE



The above screenshot shows the real time example of COBOL Compilation.

During the compilation process the following actions occur;

Source files   will be copied
                  From PS_HOME\src\cbl (D:\PTHCM91\src\cbl)
                  To    Compile Drive\Compile Directory

Compiled modules will be copied
                  From Compile Drive\Compile Directory
                  To   PS_HOME\CBLBINDR (D:\PTHCM91\CBLBINA, CBLBINA or CBLBINU)


CBLBINA, CBLBINE or CBLBINU is based on the compilation mode of ASCII (unicode), EBCDIC or Unicode respectively. 
 
COBOL Process Test: 

Once compilation is done, run the COBOL test process.

 PeopleTools ---> Process Scheduler ---> System Process Requests


Remote Call test:

Sometimes AE process calls COBOL files remotely to execute as a part of workflow. To ensure its proper function, Remote call test should result in below message (screenshot).
.
 PeopleTools ---> Utilities ---> Debug ---> People Tools Test Utilities


Thursday, April 18, 2013

Nuclear SX 5.3 I - Review

Here comes the mobile of new era at cheaper rate with all advanced options to enjoy. Nuclear SX is Unbelievably Rich and a Style stylish phone without losing out on smart features. The smooth and round edges of this light weight device give it a compact look.





TECHNICAL  SPECIFICATIONS
General
Operating system:
Android v4 (IceCreamSandwich)
Processor:
1 GHz Dual Core Processor
Memory:
512 MB RAM
SIM Support:
Dual SIM, Dual Standby - GSM+GSM
Size
147mm X 82mm X 11.3mm (210g)
Network
2G:
850/900/1800/1900 MHz
3G:
WCDMA 2100MHz
Display
Touch screen:
5.3 inch Multi-touch Capacitive Screen
Resolution:
800x480 Pixels
Type:
TFT LCD
Connectivity
GPRS:
Yes
EDGE:
Yes
3G Speed (Download/Upload):
7.2 Mbps (HSDPA)/5.76 Mbps (HSUPA)
Wireless LAN:
Wi-Fi 802.11 b/g/n
GPS:
Yes
Bluetooth :
v4
USB port:
v2.0
Camera
Rear Camera :
8 Megapixels
Flash:
LED Flash 7.2x zoom
Auto-focus:
Yes
Front Camera:
1.3 Megapixels
Video recording :
Yes, 640 X 480 pixel video recording
Other features:
Geo-tagging, Touch Focus
Multimedia
Audio Player:
MP3, WMA, OGG, AAC, WAV, FLAC
Video Player:
AV1, MP4, FLV, 3GP, MKV, WMV
FM Radio :
Yes
3.5mm audio jack:
Yes
Others:
Ringtone (MP3, WAV)
Memory
Internal:
12 GB
Expandable:
Up to 32 GB
Battery
Capacity:
3500mAH Rechargeable Polymer Battery
Others
S/W Support :
MS Office Word, Excel, PPT, Gmail, POP3/SMTP/IMAP4
Instant Messenger:
Google Talk
Pre-loaded Apps:
Tango, Bloomberg, World Newspapers, Google Play Store, Google Play Books, Google Play Movies
Sensors:
G-Sensor, Proximity, Light Sensor
Physical Keys:
Volume
Handset Color Options:
Black
Inside the Mobile box:
Handset, Battery, Charger, Headset, USB Cable, User Manual, Warranty Card, 8GB MicroSD Card
PRICE Rs.14,890 /-    (in India)



Click here to compare this smart phone with Samsung Galaxy Grand Duos I9082, Apple iPhone 4 and Nokia Lumia 920.