Xsql workaround

i'm trying to get the text frm a file using XSQL utility and BFILES.
Actually i have written a function finlob()which returns varchar2 .but when i run my xsql file i get the following error:
<xsql-error action="xsql:query"><statement>
select finlob() as aman from dual
</statement><message>ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 1
</message></xsql-error>
it seems as if there is something wrong with the internal buffer size which is a limit of oracle.
can u please help me with this problem.
the function which i use is as follows
RETURN VARCHAR2
IS
Lob_loc BFILE;
Buffer RAW(32767);
Amount BINARY_INTEGER := 10902;
Position BINARY_INTEGER := 1303;
AMANAM1 VARCHAR2(32767);
BEGIN
/* Select the LOB: */
SELECT filep INTO Lob_loc
FROM xdplob WHERE san='0000829901-98-000006';
dbms_output.enable(4000000);
/* Opening the BFILE: */
DBMS_LOB.OPEN (Lob_loc, DBMS_LOB.LOB_READONLY);
DBMS_LOB.READ (Lob_loc, Amount, Position, Buffer);
/* Display the buffer contents: */
AMANAM1 := utl_raw.cast_to_varchar2(Buffer);
RETURN AMANAM1;
/* Closing the BFILE: */
DBMS_LOB.CLOSE (Lob_loc);
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE('End of data');
END;
if i happen to use small value for Amount it works fine but with the current value(10902) it gives the error mentioned earlier.
it should work fine bcas the limit is 32767 and it is below the limit.?
any insight 'll be of great help
Thanx
Aman

This is not an XSQL issue.
It is an issue of the difference between the maximum length of a VARCHAR2 in PL/SQL and SQL.
If you create the following function:
create or replace function f(n number) return varchar2
is begin
return rpad('-',n,'-');
end;
Then, from the SQL*Plus command line you
can try:
SQL> select f(4000) from dual
which works fine since returning a
string of length 4000 from PL/SQL into
SQL (where the max length of a VARCHAR2
is 4000) is fine.
If you try...
SQL> select f(4001) from dual
You get your exact error above.
So, everything about your function
is working except that it's returning
a VARCHAR2 larger than 4000 characters
to SQL in the SELECT statement.

Similar Messages

  • Error when try to call a pl/sql procedure from the .xsql file

    I tried to call a pl/sql procedure like this:
    <?xml version="1.0"?>
    <page connection="omtest5" xmlns:xsql="urn:oracle-xsql">
    <xsql:include-owa>
    sampleowaxml.testone
    </xsql:include-owa>
    </page>
    but I got the following error message:
    <?xml version="1.0" ?>
    - <page>
    - <xsql-error action="xsql:include-owa">
    <statement>declare buf htp.htbuf_arr; param_names owa.vc_arr; param_values owa.vc_arr; rows integer := 32767; outclob CLOB;begin param_names(1) := 'HTTP_COOKIE'; param_values(1) := ''; param_names(2) := 'SERVER_NAME'; param_values(2) := 'mxfang-nt.us.oracle.com'; param_names(3) := 'SERVER_PORT'; param_values(3) := '80'; param_names(4) := 'SCRIPT_NAME'; param_values(4) := '/servlets/oracle.xml.xsql.XSQLServlet'; param_names(5) := 'PATH_INFO'; param_values(5) := '/xsql/test/myproject.xsql'; param_names(6) := 'HTTP_USER_AGENT'; param_values(6) := 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)'; owa.init_cgi_env(6,param_names,param_values); sampleowaxml.testone owa.get_page(buf,rows); dbms_lob.createtemporary(outclob,true,dbms_lob.session); for i in 1..rows loop dbms_lob.writeappend(outclob,length(buf(i)),buf(i)); end loop; ? := outclob; ? := DBMS_LOB.INSTR(outclob,CHR(10)&#0124; &#0124;CHR(10));end;</statement>
    <message>ORA-06550: line 3, column 3: PLS-00103: Encountered the symbol "OWA" when expecting one of the following: := . ( @ % ; The symbol ":=" was substituted for "OWA" to continue.</message>
    </xsql-error>
    - <xsql-error action="xsql:include-owa">
    <message />
    </xsql-error>
    </page>
    This error message is very similiar to the message that Shanthir posted on Jan, 21. I did run the dbmslob.sql, but it doesn't help. Anybody has ideas how to solve it?
    I used the PL/SQL web toolkit provided by OAS4.0.8.1. I believe oracle web agent is replaced by this toolkit.
    Thanks,
    Min
    null

    Hi,
    Glad that somebody else too got this problem. Well, as I had mentioned in my previous posting too, I think there are some procedures in the package, dbms_lob, like the writeappend, createtemporary etc.. which is not found in my dbms_lob.sql file, I am using 8.0.5, but I found these procedures in the 8i, I think it is becos of that.
    By the way if anybody got this solution and got any workaround, please help me too.
    I am still waiting for the solution to that.
    Shanthi

  • How to retrieve the outer parameter of a stored procedure in XSQL page

    I have to call a stored procedure in the xsql page that returns a resultset (ie. oracle table/record type) through an outer paramter. Is there any built-in xsql action tag available to get the parameter and present
    it in xml on the page? please help, thanks.

    You cant get two resultsets out of SP like this. The workaround is to merge and bring the resultsets.
    For this number of columns as well as corresponding datatypes have to be compatible. Also you will need one additional column which indicates resultset value. Then use this as filter to get your desired resultset out
    create procedure GetData as
    begin
    select 'resultset1' as Cat,*,.. N columns from Emp
    union all
    select 'resultset2' as Cat,*,.. N columns from Dept
    end
    create table #tmp1 (Ddeptid int, deptname varchar(500),Location varchar(100))
    Insert into #tmp1 (Ddeptid , deptname ,Location )
    Select column1,column2,column3
    from OPENROWSET('SQLOLEDB','Data Source=Server_name;Trusted_Connection=yes;
    Integrated Security=SSPI','Execute yourdb..GetData')
    WHERE Cat = 'resultset1'
    create table #tmp (empid int , ename varchar(500),DeptId int , salary int)
    Insert into #tmp (empId,ename,deptId,salary)
    Select column1,column2,column3, column4
    from OPENROWSET('SQLOLEDB','Data Source=Server_name;Trusted_Connection=yes;
    Integrated Security=SSPI','Execute yourdb..GetData')
    WHERE Cat = 'resultset2'
    also see
    http://sqlblogcasts.com/blogs/madhivanan/archive/2007/11/26/select-columns-from-exec-procedure-name-is-this-possible.aspx
    Another method is to populate table with relevant resultset within procedure itself and then select from the table directly outside.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • [XSQL 1000]Debugging for xsql:insert

    Dear Colleagues,
    Looks to me as the awareness upon the usefulness of XSQL servlet for posting FORM submissions has raised recently, and thus the need for even more documentation and examples as currently provided for the specific task.
    I have successfully used the OracleXMLSave class for posting in the database of XML data, however I had difficulties in achieving the same for an FORM post.
    I have consulted the following sources:
    - release notes for version 1.0.0.0(S.Muench)
    - example code (xsql/demo/document)(S.Muench)
    - Oracle XML handbook (ISBN: 007212489X)
    - XML forum in technet discussion groups.
    Nevertheless, I could not find explicitly reported on how to simply see what the internal format of the XML was for a specific form submission that I was developing.
    The workaround I made for the topic is to include in the xsql file which does the posting, an href which references an xsl which then should extract the content as the spec says it is formatted and then returns it ot the browser for visual inspection.
    Nevertheless, would there be a better solution (to see what the Servlet has generated before submitting for insertion) it would be great to know.
    Looking forward your comments
    and very many compliments to Oracle and to Steve Muench (and colleagues) for the really useful and powerful system they have developed.
    Regards
    Sincerely
    Luca

    Dear Colleagues,
    following the instructions from Steve as in his posting of January 10th in support to the topic "Generating XML from HTML form", I have just written an action handler that "does the job" of showing the XML that the servlet has internally generated (or at least I believe so) before doing the internal OracleXMLSave call.
    I attach hereafter the code as well as what I have done to get it to work and will appreciate feedback .
    OS Linux (Suse 6.3)
    HTTPD Apache 1.3.9 (off-the shelf from Suse 6.3) made on Nov 13,1999
    SERVLET Tomcat 3.1
    JAVA jdk1.2.2
    ORACLE 8.1.6 (also called 8iR2)
    1) save the appended document in "GetPostedDocument.java"
    2) compile the java code
    I have done this with the jdk1.2.2 on Linux, installed under /usr/lib/jdk1.2.2, and after coyping all the jar distributed in the xsql servlet 1.0.0.0 to the local compiling directory
    /usr/lib/jdk1.2.2/bin/javac -classpath "/usr/lib/jdk1.2.2/lib/classes.zip:xmlparserv2.jar:.:oraclexsql.jar:oraclexmlsql.jar:servlet.jar" GetPostedDocument.java
    3) copied GetPostedDocument.class to the tomcat lib location, and made sure it had the right permissions, namely to /usr/local/httpd/jakarta-tomcat/lib as a+rx
    4) stopped and started the httpd + servlet
    In my setting (that is the default I believe for tomcat 3.1), any file placed in the tomcat's lib directory is automatically loaded on startup in the CLASSPATH
    rcapache stop
    rcapache start
    5) added to the xsql page handling the post,
    the following xsql action handler
    <xsql:action handler="GetPostedDocument"/>
    6) reloaded the calling xsql page
    What happens now is that upon submission I get back XML code which has been submitted ... exactely what I wanted. Perhaps is not what everybody needs, but it is already for me a starting step to proceed with debugging of my XSL to understand why the feeding into Oracle did not work (clearly the fault of the reformatting XSL which did not generate OracleXMLSave "canonical format").
    Thankyou and Compliments, Steve, for such a beatiful package ! It is REALLY USEFUL.
    Luca
    -------------------GetPostedDocument.java----
    import oracle.xml.xsql.*;
    import org.w3c.dom.*;
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.sql.*;
    import java.util.*;
    import java.net.URL;
    import java.io.PrintWriter;
    public class GetPostedDocument extends XSQLActionHandlerImpl {
    public void handleAction (Node rootNode) throws SQLException {
    try {
    org.w3c.dom.Document converted= ((XSQLServletPageRequest)getPageRequest()).ge
    tPostedDocument();
    URL pageURL = new URL("file:///root/bingo.xsql");
    XSQLRequest req= new XSQLRequest(pageURL);
    req.setPostedDocument(converted);
    req.process(new PrintWriter(System.out),new PrintWriter(System.err));
    catch (Exception exs) {
    this.reportError(rootNode,exs.getMessage());
    exs.printStackTrace();
    public void init(XSQLPageRequest xsqlreq, Element element) {
    super.init(xsqlreq,element);
    }

  • Oracle XSQL not working : XSQL-017

    Hi XML Experts,
    I have installed 9iAS 1.0.2.2 on Sun Solaris 2.6 (DB-8.1.7.0.0)
    and have configured XDK. But I am not able to run XSQL pages.
    When I try to access
    http://machinename:port/xsql/java/xsql/demo/emp/emp.xsql the
    following error message is displayed:
    XSQL-017: Unexpected Error Occurred
    java.lang.NullPointerException
    at oracle.xml.xsql.XSQLConfigManager.getNamedConnection(Compiled
    Code)
    at oracle.xml.xsql.XSQLConnectionManager.getPool(Compiled Code)
    at oracle.xml.xsql.XSQLConnectionManager.getConnection(Compiled
    Code)
    at oracle.xml.xsql.XSQLPageRequestImpl.setConnectionName
    (Compiled Code)
    at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code)
    at oracle.xml.xsql.XSQLServlet.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    I checked the xml.properties file and also the XSQLConfig.xml
    and all the configuration seems to be OK. I also added the path
    to XSQLConfig.xml file in jserv.properties but still this error
    persists.
    Java version on our machine is 1.1.3. Does it matters? We tried
    to install jdk1.2 and also set the PATH variable still the
    version remains the same.
    Any tips or workaround for this problem.
    Thanks in advance.

    I have installed Java 1.2 and set the PATH variable. I also
    changed the wrapper.bin pointing to the new JDK.
    Still the error persists. Any Solution ???

  • CURSOR: Need a workaround

    Tried to work with cursors in XSQL:
    1. with a stored procedure: got stuck here: http://technet.oracle.com:89/ubb/Forum11/HTML/004390.html
    2. Tried with ORACLE XML SQL utility with weblogic POOL drivers: got stuck here: http://technet.oracle.com:89/ubb/Forum11/HTML/004391.html
    3. Finally made a connection using the oracle driver: Voila Exhausted ResultSet. I remember reading this CURSOR within CURSOR problem will be fixed in Oracle 8i Release 2 but I can still read it as a known bug with XSQL 1.0.4.1 (Production)
    Please, its a desparete call...
    null

    I posted a reply to your other two messages.
    For exhausted cursor workaround, see:
    http://technet.oracle.com:89/ubb/Forum11/HTML/003800.html

  • Xsql:query xml error

    I am getting an error when running an xsql:query. I can run simple queries, so it is not a connection porblem. The xml parses in jDeveloper10g so it appears to not be ill-formed XML. I have tried containing the SQL statement in CDATA tags, and tried replacing < and > with their entity references &lt; and & gt; and I have tried both at the same time.
    The Query is as follows
    <page xmlns:xsql="urn:oracle-xsql" connection="V7Test">
    <xsql:query fetch-size="100" max-rows="-1" null-indicator="no" tag-case="lower">
    <![CDATA[
    select
    ts_jobs.job_number,
    sum(ts_jobs.period_hours),
    ts.period_end_date
    from
    etr.etr_timesheet_days ts_days,
    etr.etr_timesheet_hours ts_hours,
    etr.etr_timesheet_jobs ts_jobs,
    etr.etr_timesheets ts
    where
    ts_hours.hours != 0
    and (
    (nvl(ts_jobs.corrected_id,0) = 0
    and nvl(ts_hours.corrected_id,0) = 0
    and ts.date_sent_to_pmjcap >=ts_hours.date_entered)
    or (ts.date_sent_to_pmjcap < ts_hours.date_corrected)
    and ts_days.timesheet_day_id = ts_hours.timesheet_day_id
    and (
    (ts_days.period_date in ('01-JAN-03','02-JAN-03','03-JAN-03')
    and ts.period_end_date = '03-JAN-03')
    or (ts_days.period_date in ('27-DEC-03','28-DEC-03','29-DEC-03','30-DEC-03','31-DEC-03')
    and ts.period_end_date = '02-JAN-04')
    and ts_days.timesheet_id = ts.timesheet_id
    and ts_jobs.timesheet_job_id = ts_hours.timesheet_job_id
    and (
    (ts_jobs.job_number in (9719003,9849003,9849001,9719001))
    or (ts_jobs.job_number in (9719333,9849333,9849334,9719334))
    or (ts_jobs.job_number in (9719004,9849004,9719009,9849009))
    or (ts_jobs.job_number in (9719444,9849444,9849445,9719445))
    and ts.timesheet_id = ts_jobs.timesheet_id
    and ts.employee_number = '050405'
    and exists
    (select
    emp_clock,
    date_incurred
    from
    asi_apps.vw00plw
    where
    substr(job_number,-8) = ts_jobs.job_number
    and date_incurred = ts.period_end_date
    and emp_clock = lpad('050405',6,0)
    group by
    ts_jobs.job_number,
    ts.period_end_date,
    ts_hours.hours
    ]]>
    </xsql:query>
    The Error I get is as follows
    <?xml version="1.0" encoding="windows-1252" ?>
    - <!--
    | Uncomment the following processing instruction and replace
    | the stylesheet name to transform output of your XSQL Page using XSLT
    <?xml-stylesheet type="text/xsl" href="YourStylesheet.xsl" ?>
    -->
    - <page>
    <error>oracle.xml.sql.OracleXMLSQLException: Character ')' is not allowed in an XML tag name.</error>
    </page>
    I think it is parsing a '<' as a tag delimiter.
    Anyone have a similiar problem? a workaround?
    regards,
    Bill

    I found the answer. The problem is the selected 'column' sum(ts_jobs.period_hours). Apparently, the XSQL servlet attempts to assign the value 'sum(ts_jobs.period_hours)' directly to an XML element.total_hours. That fails.
    The work-around is to use an alias. This code works
    sum(ts_jobs.period_hours) total_hours,
    A fix to the XSQL servlet would be in order, perhaps adding a CDATA container around 'columns' that are are normal SQL functions.
    regards,
    Bill

  • xsql:include-xml

    if the href for the <xsql:include-xml> call doesn't return any results or returns null you get an xsql error. Is there a workaround?
    for example:
    <xsql:include-xml id="0">
    select xmltype.getclobval(doc) from tbl_test where id = {@id}
    </xsql:include-xml>
    if doc is null or the resultset is empty then you get <xsql-error action="xsql:include-xml" />.

    Include a <xsql:no-rows-query> element.
    <xsql:include-xml href="">
    Select xmltype.getClobVal
    <xsql:no-rows-query>
    Select Statement to use if include-xml returns null.
    </xsql:no-rows-query>
    </xsql:include-xml>

  • Xsql command line and stored PL/SQL procedures

    I have an xsql servlet that calls a stored procedure in an Oracle 8.1.7 DB to generate XML. The servlet then uses a custom action handler to write the XML output to a file on the webserver.
    This system works just fine through a web page interface. I am interesting in using the xsql command line interface to run the servlet as a nightly cron to keep the xml file up to date.
    It seems that the xsql command line interface cannot execute stored procedures.
    The xsql file is:
    <?xml version="1.0"?>
    <page connection="studev" xmlns:xsql="urn:oracle-xsql">
    <xsql:include-owa subj="AR" bind-params="subj">
    studev.CTLGDSET.P_ADD_DEPT_DRIVER(?);
    </xsql:include-owa>
    <xsql:write-to-file file="{@subj}.xml" dir="{@dir}" base-tag="/page/SUBJECT/"/>
    </page>and the output written to the file is
    <?xml version = '1.0'?>
    <page xmlns:xsql="urn:oracle-xsql">
    <xsql:include-owa subj="AR" bind-params="subj">
    studev.CTLGDSET.P_ADD_DEPT_DRIVER(?);
    </xsql:include-owa>
    <xsql:write-to-file file="{@subj}.xml" dir="{@dir}" base-tag="/page/SUBJECT/"/>
    </page>Any comments or suggestions would be much appreciated.
    -Eric Dalquist

    Ok. I looked into the problem. The issue is that the Action Handler for <xsql:include-owa> conditionally passes on information about cookies and such to the OWA package context if you happen to be using XSQL through the Servlet interface.
    If you are not using XSQL through the servlet interface, things still work, but the class that implements the include-owa action handler still has a load-time dependency on the "servlet.jar" (even if you don't end up using it).
    So, the workaround is to add a copy of the Servlet SDK jar file "servlet.jar" to your CLASSPATH of the XSQL Command Line utility, and it works fine.
    XSQL 9.0.2 Beta (due out this week I believe on OTN) has been tested with FOP 0.18.1, but XSQL 1.0.4.3 Production and XSQL 9.0.1 production should both work with 0.18.1 as well.

  • Extensions like Ghostery, WOT or AdBlock stop working after two or three times. Restarting the webpage in a new tab the extensions will work again for several times and then stop again. Has anybody an explanation or a workaround for this bug in Safari 5?

    Extensions like Ghostery, WOT or AdBlock stop working after two or three times. Restarting the webpage in a new tab the extensions will work again for several times and then stop again. Has anybody an explanation or a workaround for this bug in Safari 5?

    Remove the extensions, redownload Safari, reload the extensions.
    http://www.apple.com/safari/download/
    And if you really want a better experience, use Firefox, tons more choices and possibilities there.
    Firefox's "NoScript" will block the Trojan going around on websites. Best web security you can get.
    https://addons.mozilla.org/en-US/firefox/addon/noscript/
    Ghostery, Ad Block Plus and thousands of add-ons more have originated on Firefox.

  • A workaround to get open documents in different Spaces to the allocated PS space

    A small workaround for Spaces CS5 Mac.
    If you have CS5 documents spread over different Spaces due to clicking them in the finder and want to get them all back in to the allocated PS Space, here's a workaround.
    You do need one doc open in the correct space I'm afraid for it to work. Create a new doc in there if you have to. I tend to leave one small doc open in the right Space all the time now.
    Go to the allocated PS space. Select the menu option "Consolidate all to tabs" from the  Window>Arrange menu.
    This will bring all the open docs from their spaces to the correct space as tabs.
    That might be enough for you but you can't drag adjustments layers and layers with alphas etc to another doc in Tab view, something I do all the time when I'm retouching 20-30 shots and I'm trying to match them.
    Hard to do that with tab view obviously.
    Next select "Float all in windows" and you'll have your docs viewable, side by side in the right space.
    If you assign a key command to those options, it becomes a quick tap 1-2 and you're done.
    As far as I can tell, if you want floating windows, and all your docs in the right place, and don't want to open your images from the PS open dialogue (who does when you have 6 windows of 50 images on your dual 30" monitor setup?) then this will do it.
    It's not great for all things but it's better than "It's all Apple's fault"

    there is certainly no built in way to do it. In fact Dock Spaces is the only program I've ever heard of that allows you to have different docks in different spaces. if it can't do it, it's impossible.

  • Error while running a sample XSQL from XML bible book from Steve Muench

    I am running the sample XSQL code from Chapter 03, which deals with exporting XML and transform into SQL statements. I'm using JDeveloper and I believe I've setup libraries and HTML root directory etc. I'm getting the following error:
    XSQL-011 Error processing XSLT stylesheet.
    XSL-1009 Attribute xsl:version not found in xsl:stylesheet.
    Can I get some help in fixing this error?
    Thanks a lot,
    Murali
    null

    Hi,
    This is the example I took from Steve Muench's book.
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text"/>
    <xsl:template match="/">
    </xsl:template1>
    </xsl:stylesheet>
    As you can see, I do have the version=1.0 attribute. Why is it complaining still?

  • Free goods master for STO or workaround to meet this requirement

    Dear Gurus,
    I use IS-retail and the situation we faced is we have got a deal from our vendor that if we buy article A will get article B for free. So we set a free goods master using condition type NR00. It work fine in purchase order we order to our vendor however when we create STO to distirbute product from our DC to store, there are no free goods concept in STO.
    Does anyone have a solution for this issue or workaround for this?
    we would like to have a subitem (Free goods item)pop up automatically when create STO from DC to store for the main article.
    Is there a way to goods issue for sto with no cost for free goods article?
    Regards
    Mintoo

    Dear Varun,
    I already tried and found that In STO , The free goods indicator is disable (suppress) unlike in normal PO. There might be a reason for this.  Do you any workaround on this?
    Dear Venkat,
    is there a way to use free goods master instead of using BOM. Our SD told that they need to change configuration to serve the sales set???
    Best Reagrds
    Mintoo

  • In Pages 5.5.1 when I go to the Open menu I cannot get a preview of any of the files in the list using the spacebar, which I can do in every other application and finder. Is there a workaround?

    In all other applications and in the finder, if I select a document and press the spacebar I get a quickview preview of that file. It does not work in Pages when I choose Open and am given a list of files to select from. This was not the case in older versions of Pages. Is there a workaround, other than doing quickview in the Finder before going to Pages.

    On Yosemite, Pages documents that are in a package (folder) format are viewable with Quick Look in the Pages v5.5.1 file chooser. Pages documents that are in the Single File (compressed, renamed folder) format are viewable in diminished size with Quick Look. Other documents that can be opened in the version(s) of Pages on your Mac will also open properly in Quick Look from the file chooser.

  • Is there a workaround for Photoshop CS6 Histogram?

    I have noticed this and I am wondering if there is a more feasable workaround other than saving my work, closing the application and reopening the app.
    Here are the steps:
    Open a file (any file type compatible)
    Open the histogram window
    Open the layers window
    If one layer / Background unlock
    OR
    Open file with multiple layers (image, mask, or adjustment)
    In Layer window now deselect the background layer or all of the layers by clicking on the window below the layers (RIGHT under "Layer 0" in layer window)
    The histogram changes to B&W histogram
    The only way to revert to the previous Color display is to close PS CS6 and reopen it. Then you are back to the full histogram.
    When editing multiple layers in files, or compositing, this is really an issue and slows down workflow.
    Is there another workflow? I have attempted a couple workarounds but none have worked other than restart.
    Any idea what is happening? or is anyone else running into this?
    Just "Not selecting" is not an option.

    Seems like that has happened for several versions.
    To get back to Colors without restarting photoshop cs6, you can go to Expanded View and choose Colors from the drop-down list.

Maybe you are looking for

  • Media Encoder CC not starting

    Windows7 64 bit Media Encoder CC (7.0.1) AME worked a while. I exported a couple of jobs to it's queue. All good. Tried to cancel the jobs and it seemed to hang. Had to kill the application from task manager. Since then AME will not run. It crashes o

  • My iphone will not sync to itunes

    im using an HP laptop with windows 8. my iphone 4s is connecting to the computer and charging but it is not bring reconized in itunes.. please someone help i need to download musiccc!! ASAP

  • Key figures as text

    Dear Experts, Below is the output of my report: Parameter(Char) Overall Score(KF) A 100 B 0 C 90 Parameter B has only 0 or 1 values for Overall Score. In bex output, 0 should replace with NO and 1 with YES for parameter B only. Expected output: r(Cha

  • How many 11gR2 RAC instance servers would be needed?

    On the shared SAN drive - there will be as many as 6 11gR2 databases. For 2 node RAC instance servers - how many instance servers would work fine - are two separate servers needed for each database?

  • Trying to update LR, get a prompt for serial number

    I'm already a CC subscriber and when I updated LR to 5.3, I get a "serial number or try it" prompt. Did I go about the update the wrong way? I should just get all updates automatically, right?