Nexus 5k Throwing Duplex Mismatch error even though Duplex/speed is correct
Hello Guys
We Are facing an issue with Duplex Match. error in nexus 5k
Our Nexus 5k Switch continously throwing Duplex mismtach error on Logs.
2013 Nov 9 07:53:24 FRMA_BK2_CSN5K_02 %CDP-4-DUPLEX_MISMATCH: Duplex mismatch discovered on Ethernet1/11, with LAGInterface0/3/1
2013 Nov 9 07:54:24 FRMA_BK2_CSN5K_02 last message repeated 8 times
2013 Nov 9 07:56:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 07:58:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 08:00:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 08:02:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 08:04:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 08:06:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 08:08:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 08:10:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 08:12:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 08:14:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 08:16:24 FRMA_BK2_CSN5K_02 last message repeated 16 times
2013 Nov 9 08:18:22 FRMA_BK2_CSN5K_02 last message repeated 15 times
The interface is connected to Cisco Wireless lan controller(5508) using port-channel. Other interface in Port channel is not facing an Issue.
This interface is hardcoded with Speed 1000. Same config on WLC also Speed 1000. No ipunt errors observed in the interfaces
But in Switch cdp this interface is showing as Half duplex and flooding the 5k with logs
Please find the Interface configs & CDP outputs,
interface port-channel124
description Controller Wireless 5508
switchport mode trunk
spanning-tree bpduguard enable
speed 1000
storm-control broadcast level 80.00
storm-control multicast level 80.00
vpc 124
interface Eth 1/10 & 1/11 is binded in port channel 124.
Eth 1/10 --> dont have any Logs and showing full duplex in CDP.
Eth 1/11 --> Having Logs for duplex mismtach and showing half duplex
interface Ethernet1/10
description Controller Wireless 5508 - Port 1
switchport mode trunk
speed 1000
storm-control broadcast level 80.00
storm-control multicast level 80.00
channel-group 124
interface Ethernet1/11
description Controller Wireless 5508 - Port 2
switchport mode trunk
speed 1000
storm-control broadcast level 80.00
storm-control multicast level 80.00
channel-group 124
FRMA_BK2_CSN5K_02# sh int eth 1/10
Ethernet1/10 is up
Hardware: 1000/10000 Ethernet, address: 547f.ee33.d031 (bia 547f.ee33.d031)
Description: Controller Wireless 5508 - Port 1 - 10.80.82.240
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is trunk
full-duplex, 1000 Mb/s, media type is 10G
Beacon is turned off
Input flow-control is off, output flow-control is off
Rate mode is dedicated
Switchport monitor is off
EtherType is 0x8100
Last link flapped 16week(s) 6day(s)
Last clearing of "show interface" counters 35w2d
30 seconds input rate 6194968 bits/sec, 1211 packets/sec
30 seconds output rate 4498096 bits/sec, 1189 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 4.81 Mbps, 875 pps; output rate 3.60 Mbps, 863 pps
RX
2055924941 unicast packets 547924 multicast packets 1043625 broadcast pack
ets
2057516490 input packets 1047388804413 bytes
82164348 jumbo packets 0 storm suppression bytes
0 runts 0 giants 0 CRC 0 no buffer
0 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
2407546704 unicast packets 558419255 multicast packets 2765961466 broadcas
t packets
5731927425 output packets 1625683967743 bytes
342983729 jumbo packets
0 output errors 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble 0 output discard
0 Tx pause
2 interface resets
FRMA_BK2_CSN5K_02# sh int eth 1/11
Ethernet1/11 is up
Hardware: 1000/10000 Ethernet, address: 547f.ee33.d032 (bia 547f.ee33.d032)
Description: Controller Wireless 5508 - Port 2 - 10.80.82.240
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is trunk
full-duplex, 1000 Mb/s, media type is 10G
Beacon is turned off
Input flow-control is off, output flow-control is off
Rate mode is dedicated
Switchport monitor is off
EtherType is 0x8100
Last link flapped 16week(s) 6day(s)
Last clearing of "show interface" counters 35w2d
30 seconds input rate 2059992 bits/sec, 712 packets/sec
30 seconds output rate 3605536 bits/sec, 680 packets/sec
Load-Interval #2: 5 minute (300 seconds)
input rate 1.44 Mbps, 485 pps; output rate 2.73 Mbps, 546 pps
RX
1742986162 unicast packets 712358 multicast packets 1587374 broadcast pack
ets
1745285894 input packets 813329974630 bytes
107173365 jumbo packets 0 storm suppression bytes
0 runts 0 giants 0 CRC 0 no buffer
0 input error 0 short frame 0 overrun 0 underrun 0 ignored
0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop
0 input with dribble 0 input discard
0 Rx pause
TX
1347189732 unicast packets 337957710 multicast packets 2429529386 broadcas
t packets
4114676828 output packets 1302894776466 bytes
308726768 jumbo packets
0 output errors 0 collision 0 deferred 0 late collision
0 lost carrier 0 no carrier 0 babble 0 output discard
0 Tx pause
3 interface resets
FRMA_BK2_CSN5K_02# sh cdp neighbors interface ethernet 1/11 detail
Device ID:FRMA_BK2_WLCCS5508_01_100
System Name:
Interface address(es):
IPv4 Address: 10.80.82.240
Platform: AIR-CT5508-K9, Capabilities: Host
Interface: Ethernet1/11, Port ID (outgoing port): LAGInterface0/3/1
Holdtime: 136 sec
Version:
Manufacturer's Name: Cisco Systems Inc. Product Name: Cisco Controller Product
Version: 7.0.240.0 RTOS Version: Erro Bootloader Version: 1.0.1 Build Type:
DATA + WPS + LDPE
Advertisement Version: 2
Duplex: half
Device ID:FRMA_BK2_WLCCS5508_01_100
System Name:
Interface address(es):
IPv4 Address: 10.80.82.240
Platform: AIR-CT5508-K9, Capabilities: Host
Interface: Ethernet1/11, Port ID (outgoing port): GigabitEthernet0/0/2
Holdtime: 136 sec
Version:
Manufacturer's Name: Cisco Systems Inc. Product Name: Cisco Controller Product
Version: 7.0.240.0 RTOS Version: Erro Bootloader Version: 1.0.1 Build Type:
DATA + WPS + LDPE
Advertisement Version: 2
Duplex: full
FRMA_BK2_CSN5K_02# sh cdp neighbors interface ethernet 1/10 detail
Device ID:FRMA_BK2_WLCCS5508_01_100
System Name:
Interface address(es):
IPv4 Address: 10.80.82.240
Platform: AIR-CT5508-K9, Capabilities: Host
Interface: Ethernet1/10, Port ID (outgoing port): GigabitEthernet0/0/1
Holdtime: 138 sec
Version:
Manufacturer's Name: Cisco Systems Inc. Product Name: Cisco Controller Product
Version: 7.0.240.0 RTOS Version: Erro Bootloader Version: 1.0.1 Build Type:
DATA + WPS + LDPE
Advertisement Version: 2
Duplex: full
From WLC Controller end
(Cisco Controller) >show port summary
STP Admin Physical Physical Link Link
Pr Type Stat Mode Mode Status Status Trap POE SFPType
1 Normal Forw Enable Auto 1000 Full Up Enable N/A 1000BaseTX
2 Normal Forw Enable Auto 1000 Full Up Enable N/A 1000BaseTX
What might be the issue here?
Thanks for your suggstion
Hi Grant,
Thanks for your sugggestions.But however we Have 6 Controllers, all are having the same setup as this one.
Only difference i seen for this switch is for the th port 1/11 it is showling 2 CDP info, one for management interface of WLC and other for Logical interface of WLC, which seems not correct.
Ths CDP info connecting to Logical interface is showing half duplex and cdp info connecting to Physical interface of wlc is showing full duplex.
FRMA_BK2_CSN5K_02# sh cdp neighbors int eth 1/11 detail
Device ID:FRMA_BK2_WLCCS5508_01_100
System Name:
Interface address(es):
IPv4 Address: 10.80.82.240
Platform: AIR-CT5508-K9, Capabilities: Host
Interface: Ethernet1/11, Port ID (outgoing port): LAGInterface0/3/1
Holdtime: 125 sec
Version:
Manufacturer's Name: Cisco Systems Inc. Product Name: Cisco Controller Product
Version: 7.0.240.0 RTOS Version: Erro Bootloader Version: 1.0.1 Build Type:
DATA + WPS + LDPE
Advertisement Version: 2
Duplex: half
Device ID:FRMA_BK2_WLCCS5508_01_100
System Name:
Interface address(es):
IPv4 Address: 10.80.82.240
Platform: AIR-CT5508-K9, Capabilities: Host
Interface: Ethernet1/11, Port ID (outgoing port): GigabitEthernet0/0/2
Holdtime: 125 sec
Version:
Manufacturer's Name: Cisco Systems Inc. Product Name: Cisco Controller Product
Version: 7.0.240.0 RTOS Version: Erro Bootloader Version: 1.0.1 Build Type:
DATA + WPS + LDPE
Advertisement Version: 2
Duplex: full
Similar Messages
-
I have uninstalled and installed the latest Flash Player 17 many times. I am currently working on a yearbook site that gets locked every time I try to add photos. I have also received a plug in error even though the plug in box is checked. I have a MacBook Pro. Please help!!!
To give you any useful advice, I'm going to need to know more about your computer and browser:
https://forums.adobe.com/message/5249945#5249945 -
Hey guys, when i try and log in to itunes, even though the details are correct it is showing up as an error and not allowing me access to my account.. could anyone help?
what is the error?
-
Hi...i cannot connect to my imessage it always show a message says network error even though i have a network..please help..tnx..
[email protected]Both parties must be connected to wifi to use FaceTime (and you must have FaceTime turned on in Settings>Facetime). If you're phone shows 3G at the top when it's on, you're not connect to wifi; you'll have to solve that problem first.
-
Getting an VISANS timeout error even though VISA Status is 0
I have an application that runs well on my development system but consistently fails at the user site giving out timeout errors even though the user experiences no time outs. Indeed, VISA returns a success status. Yet, it raises timeout exceptions such as in this segment from my trace log:
DefaultSource, Verbose, 8, Setting timeout to 30000, "CONNECT", 2008-08-12 00:47:21Z, 2077539389311920
DefaultSource, Information, 0, GPIB0::26::INSTR termination character set to 10, "CONNECT", 2008-08-12 00:47:21Z, 2077539630487436
DefaultSource, Verbose, 8, Checking GPIB0::26::INSTR message available, "FR, CONNECT", 2008-08-12 00:47:21Z, 2077539636730532
DefaultSource, Verbose, 8, Flushing read GPIB0::26::INSTR buffer, "FR, CONNECT", 2008-08-12 00:47:21Z, 2077539673800216
DefaultSource, Error, 2, Flushing read GPIB0::26::INSTR buffer failed: NationalInstruments.VisaNS.VisaException: Timeout expired before operation completed. VISA error code -1073807339 (0xBFFF0015), ErrorTimeout
at NationalInstruments.VisaNS.Internal.ErrorChecker.CheckStatusAndThrow(Int32 status, VisaHandle visaObject)
at NationalInstruments.VisaNS.Session.CheckStatusAndThrow(Int32 status)
at NationalInstruments.VisaNS.Session.BufferedReaderService.NationalInstruments.VisaNS.Internal.IBufferedReader.Scan(String scanSpecifier, Int32& count, StringBuilder receiver)
at NationalInstruments.VisaNS.MessageBasedSessionReader.CommonReadString(String scanString, Int32 count)
at NationalInstruments.VisaNS.MessageBasedSessionReader.ReadLine()
at isr.Visa.MessageBasedReader.ReadLine()
at isr.Visa.GpibSession.ReadLine()
at isr.Visa.Ieee4882.Instrument.ReadString()
at isr.Visa.Ieee4882.Instrument._flushRead(). VISA status=Success, "FR, CONNECT", 2008-08-12 00:47:21Z, 2077539717184364
DefaultSource, Verbose, 8, Flushing GPIB0::26::INSTR write buffers, "FW, CONNECT", 2008-08-12 00:47:21Z, 2077539723797900
DefaultSource, Verbose, 8, , "WRITE, FW, CONNECT", 2008-08-12 00:47:21Z, 2077539731761192
DefaultSource, Error, 2, Flushing GPIB0::26::INSTR write buffers failed: NationalInstruments.VisaNS.VisaException: Timeout expired before operation completed. VISA error code -1073807339 (0xBFFF0015), ErrorTimeout
at NationalInstruments.VisaNS.Internal.ErrorChecker.CheckStatusAndThrow(Int32 status, VisaHandle visaObject)
at NationalInstruments.VisaNS.Session.CheckStatusAndThrow(Int32 status)
at NationalInstruments.VisaNS.Session.BufferedWriterService.NationalInstruments.VisaNS.Internal.IBufferedWriter.WriteLine()
at NationalInstruments.VisaNS.MessageBasedSessionWriter.WriteLine()
at isr.Visa.MessageBasedWriter.WriteLine(String queryCommand)
at isr.Visa.GpibSession.WriteLine(String queryCommand)
at isr.Visa.Ieee4882.Instrument.WriteLine(String value)
at isr.Tsp.TspVisaIO.WriteLine(String value)
at isr.Visa.Ieee4882.Instrument._flushWrite(). VISA status=Success, "WRITE, FW, CONNECT", 2008-08-12 00:47:21Z, 2077539742753448
The first exception above is raised on the session Message Based Reader ReadLine() command.
Note that I check for message available before issuing read.
Note also that VISA NS returns a status code of success: VISA status=Success (this is what I log above)
The second exception is raised after I try to clear the write buffers using the Message Based Writer command: WriteLine()
Here too VISA reports success.
Note also that the above segment executes in less than one second whereas the time out is set to 30 seconds.
The user runs VISA 4.3 runtime. I am using NationaInstruments.VisaNS 8.1.20.222.
I would be most grateful for some clues as to how to further explore this issue. We have been at it for a few days already and are not seeing any light at the end of this tunnel.
DavidHello David,
It looks like you are not passing any valid handlers in your viUninstallHandler command. Calling viUninstallHandler removes the specified handler from the list of
active handlers on the given session. You can see the exact error information for your error in the picture below.
Useful information can be found in the manual: VISA Programmers Reference Manual Pages 5-146 & 7
Have a great day!
Meghan R
Applications Engineer
National Instruments
Message Edited by Meghan R on 08-15-2008 11:39 AM
Attachments:
ScreenHunter_01 Aug. 15 11.33.gif 9 KB -
Thank you for approving my feed iTunes . The only problem is, there is no art work, even though artwork was submitted correct sizes and formats were used. Why is this and how can the problem be rectified?
Thanks for getting back. Hadn't got round to re uploading the amended feed. I just did it now.
The only thing is, Feed Validator doesn't like it because of the picture size, and a couple of other things, it reeds the following:
Sorry
This feed does not validate.
line 22, column 14: width must be between 1 and 144: 1400 [help] <width>1400</width>
^
line 23, column 15: height must be between 1 and 400: 1400 [help] <height>1400</height>
^
line 25, column 21: XML parsing error: <unknown>:25:21: not well-formed (invalid token) [help]
<itunes:image href=http://www.whiteberg.com/Wdotfontitunes2.png" />
^
In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
Your feed appears to be encoded as "utf-8", but your server is reporting "US-ASCII" [help]
line 4, column 114: Self reference doesn't match document location [help]... dcast.xml" type="application/rss+xml" />
^ -
my ipad wont accept any passwords, i am unable to connect to my wifi even though my password is correct and other laptops etc have no problem connecting.
The ipad can find my wifi connection but just wont accept the password. connected with no problem in the Apple store.
any suggestions,
thanks.Does the iPad connect to other networks?
Does the iPod see the network?
Any error messages?
Do other devices now connect?
Did the iPod connect before?
Try the following to rule out a software problem:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Power off and then back on the router
- Reset network settings: Settings>General>Reset>Reset Network Settings
- iOS: Troubleshooting Wi-Fi networks and connections
- Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
- iOS: Recommended settings for Wi-Fi routers and access points
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
Apple Retail Store - Genius Bar -
When I got my ipod I made an account with iTunes right from my ipod.Yesterday, I made a password lock to get into my ipod and I couldn't get into it even though I did the correct one. Now it says"connect to iTunes" BUT I can't because I never registered on the computer. I've tried holding the home and sleep/wake button for 10 sec and then only the home for 5sec and that might have reset it, but it didn't help. If any of you guys know what to do so I can unlock it I would appreciate it VERY much.
If you haven't done so install iTunes on your computer. http://www.apple.com/itunes/
Follow the instructions here: iPhone and iPod touch: Unable to update or restore -
The display on my monitor is too large (can't fit the whole screen on my monitor) even though the resolution is correct. Suggestions?
Sounds like it may just be enlarged. Have you tried holding down the <ctrl> key and moving the mouse up and down, or scrolling your finger up and down if you have a magic pad.
-
Im having real problems connecting to my home wifi from my i phone 4s, it just keeps saying unable to join even though the password is correct,
I have tried resetting my network settings but to no avail,
yesterday I reset all settings then it actually worked, however today the problem started again so I repeated the reset but it still isn't working
This has only started happening since i upgraded software to ios6
Please helpHere is what I would do:
Shutdown all computers connected to the router.
Power off the router.
Power off the modem (cable or DSL).
Wait 30 seconds.
Power on the modem. Ensure all lights are lit and the modem is online.
Power on the router. Ensure it's communicating to the modem.
Turn on your Macbook Pro first (the one experiencing the issue. Check it's connection. If it's still having issues, removed the networks it can attach to, turn off WiFi; then turn WiFi back on and reconnect to your WiFi network.
Turn on other Macs in household. Check their connections.
Sometimes "rebooting" the modem and router fixes connectivity issues. -
I have Lion on my IMac and it is hooked up to I Cloud, however, even though all settings are correct I am not getting auto sync of calendars to my I Mac from my IPHone 4S or my iPad 1. Neither am I getting Photfrom my IPhone to my I Mac?
Can someone set me straight?Check system preferences to make sure you have iCal and your photostream checkmarked to TRUE.
If you still have problems, give us more details.
Also, make sure the calendar in iCal you're using/looking at is not "On My Mac", but actually an iCloud one. -
My ipod stills pauses when the display turns off, even though, my headphones are correctly attached (or flushed)
Does this happen still when you use another set of headphones? Have you check to make sure the headphone jack is clean and clear of debris? If so, the jack may be faulty or damaged meaning you'll need to take or send your iPod in for service/repair.
B-rock -
Qa32-confirm the operation before proceeding error even though operation is confirmed.
Hi,
In qa32, while doing ud and while saving, it is showing the error message as confirm the operation before proceeding.even though the operations are confirmed. we are doing the co1f conformation.please find the screenshots for the issue.
we are 3 in process inspections operations with operation nos 25,65,75. The 25,65 operations we are closing in qa32 with force closer. i.e when operation 75 doing ud, the inspection operations 25,65 happening force closer. But in order even though operations are confirming also,it is showing the below error message while doing ud in qa32. Please help me on this. why it is showing that error message even though operations are confirmed.
Regards,
Mastan.Memory errors have nothing to do with actual lack of RAM. The file is damaged or references a potentially critical external component like a specific printer driver whose info has been stored in the file, a font, a color profile, a linked image or whatever. You need to figure out those problems instead of blindly throwing more resources art the program. As a start, try to open the file on another system. If it works you can limit the investigation to the specific machine and even if it doesn't it may give you a more meaningful warning that helps to diagnose the error.
Mylenium -
Method not found error even though method exists....
hello
i m a newbee to sun and oracle technologies
these days i m doing teh SRDemo tutorial with JDeveloper (ADF)
I m having a problem and cannot figure out its solution so far
problem is i have a utility funtion defined in a AFDUTIL javaclass,
when i call this function in any class ,
and one of its method
compiler gives me error method not found
even though i select the method from the list, plus when from cotenxt menu it can go to method as welll
please help me to solve this issue
regardswell the code behind for the button is as follows
public String cancelButton_action() {
This action is actually reused from two pages, so we just need to ensure that we
use the correct binding container reference.
DCBindingContainer dcBindings =
(DCBindingContainer)ADFUtils.findBindingContainer(getBindings(),
"app_SRCreatePageDef");
Reset the product list to the first item:
DCIteratorBinding productsIter =
dcBindings.findIteratorBinding("findAllProductsIter");
productsIter.setCurrentRowIndexInRange(0);
Clean out the description field:
AttributeBinding problem =
(AttributeBinding)dcBindings.getControlBinding("problemDescription");
problem.setInputValue(null);
Navigate back to the list page
return "GlobalHome";
and in ADF UTILS the method findBindingContainer is defined as
public static BindingContainer findBindingContainer(BindingContainer bindings, String pageDefName){
BindingContext bctx = ((DCBindingContainer)bindings).getBindingContext();
BindingContainer foundContainer = bctx.findBindingContainer(pageDefName);
return foundContainer;
plus in source code of cancelbutton window message gives error BindingContainer findBindingContainer(BindingContainer bindings, String pageDefName) cannot invoke BindingContainer findBindingContainer(BindingContainer bindings, String pageDefName)(ADFUTILS)
Message was edited by:
user518797 -
Table not declared error even though I'm able to view it in database
Hi,
I'm trying to compile a form with the following code in a when button pressed trigger.I get the error that Trust_tab should be declared even though I am able to view the contents in sql plus. Why is it?
REGISTER_BLK.TRUST_CODE:=:GLOBAL.TRUSTCODE;
declare
m number;
begin
if CHECKBOX_CHECKED('REGISTER_BLK.CHK_BETWEEN_DATES') =true and (:REGISTER_BLK.date_from is null or :REGISTER_BLK.date_to is null )THEN
if :REGISTER_BLK.date_from is null then
m:=show_alert('alert61');
-- message('Please Enter Date');
previous_item;
go_item('register_blk.date_from');
raise form_trigger_failure;
elsif :REGISTER_BLK.date_to is null then
-- message('Please Enter Date');
m:=show_alert('alert61');
previous_item;
go_item('register_blk.date_to');
raise form_trigger_failure;
end if;
else
DECLARE
n number;
PL_ID PARAMLIST;
CONDITION VARCHAR2(500);
CHANGED_MODE_TYPE VARCHAR2(20);
MODECODE NUMBER;
TRUSTNAME VARCHAR2(60);
TNAME VARCHAR2(60);
TRUST_CODE VARCHAR2(1);
MODE_TYPE VARCHAR2(15);
DATE_FROM DATE;
DATE_TO DATE;
CONDITION1 VARCHAR2(200);
MAXDATE DATE;
BEGIN
IF NOT Id_Null(get_parameter_list('ABC')) THEN
Destroy_Parameter_List('ABC');
END IF;
PL_ID:=create_parameter_list('ABC');
IF
CHECKBOX_CHECKED('REGISTER_BLK.CHK_BETWEEN_DATES')= TRUE
--THEN
and :REGISTER_BLK.date_to is not null
and :REGISTER_BLK.date_from is not null then
DATE_FROM:=:REGISTER_BLK.DATE_FROM;
DATE_TO :=:REGISTER_BLK.DATE_TO;
SELECT TRUST_NAME INTO TRUSTNAME FROM TRUST_TAB
WHERE TRUST_CODE=:REGISTER_BLK.TRUST_CODE;
:REGISTER_BLK.TNAME:=TRUSTNAME;
CONDITION:= ' HAVING DV.TRUST_CODE = '|| :REGISTER_BLK.TRUST_CODE ||
' AND MAX(MAXDATE) >= ' ||''''||TO_CHAR(:REGISTER_BLK.DATE_FROM,'DD-MON-YY')||'''' ||
' AND MAX(MAXDATE) <= ' ||''''||TO_CHAR(:REGISTER_BLK.DATE_TO,'DD-MON-YY')||'''';
-- MESSAGE(CONDITION);
Add_parameter('ABC','paramform',TEXT_parameter,'no');
Add_parameter('ABC','P_CODE',TEXT_PARAMETER,:REGISTER_BLK.TRUST_CODE);
Add_parameter('ABC','P_datefrom',TEXT_PARAMETER,:REGISTER_BLK.DATE_FROM);
Add_parameter('ABC','P_dateto',TEXT_PARAMETER,DATE_TO);
--Add_parameter('ABC','WHERE_CLAUSE',TEXT_PARAMETER,CONDITION);
--Add_parameter('ABC','HAVING_CLAUSE',TEXT_PARAMETER,CONDITION1);
Run_Product(REPORTS,'new_rec2.rdf',ASYNCHRONOUS,RUNTIME,
FILESYSTEM,PL_ID,NULL);
ELSIF
CHECKBOX_CHECKED('REGISTER_BLK.CHK_BETWEEN_DATES') = FALSE
--THEN
or :REGISTER_BLK.date_to is null
or :REGISTER_BLK.date_from is null then
n:=show_alert('alert62');
previous_item;
go_item('REGISTER_BLK.CHK_BETWEEN_DATES');
--raise form_trigger_failure;
-- MESSAGE('Select atleast One Option for Generation of Report');
-- MESSAGE('Select atleast One Option for Generation of Report');
RAISE FORM_TRIGGER_FAILURE;
END IF;
END;
end if;Guess you are connected with wrong schema..
have you test with another test button ,simply just count the record into local
vraible with sql in another test button??
DECLARE
cnt NUMBER;
BEGIN
SELECT COUTN(*) INTO cnt
FROM trust_tab;
message(cnt);
END;If the same prob persist check yours connectivity from where you are connected.
Khurram
Maybe you are looking for
-
Is it possible to use an exact phrase and a wildcard in the same query
I am building an address finder, and i have an option where the user can enter part or a full uk postcode. There is a ctxcat index on the address field. I am having a problem searching for part of the postcode, if i enter 'ZZ1 2*' it finds all ZZ1 an
-
Hi, Is it possible to Split a single row into multiple rows using SQL statements/in-built functions? Thanks
-
Hi, this is just a simple theory question. Is there one out there could tell me the answer. How many components are there in Java ? Thanks, choongteck
-
Clarifications about Query Builder and Additional Default Layout in Reports 6i
1) Is Query Builder re-entrant in Reports 6i? If yes, what is the method. As when I tried to re-eter, it gave me message '..... Syntax Error'. 2) IN 'ADDITIONAL Default Layout', Reports 6i does not allow group field to be included in 'the fields to b
-
I need to download Acrobat XI pro "again"
I purchased Adobe Acrobat XI pro student edition online in March 2013. The computer I downloaded it onto malfunctioned and I need to download it again. How do I do this? My account name is: [email protected] and the order number is: AD002842089EDAU