Nawk message input record too long

I am running a shell script which uses nawk.
I am processing a huge input file.
I get a message that an input record is too long.
What am I supposed to do to indicate to nawk the max record line length ?
My e-mail is [email protected]
Any info will be appreciated

The 6144 limit can be verified with:
% perl -e 'print "A"x6145, "\n"' | nawk '{ print length($0); }'
nawk: input record `AAAAAAAAAAAAAAAAAAAA...' too long
source line number 1
(it works, when you change the perl print statment to
6144 x "A").
Quick solution could be to use gawk instead of nawk
(/opt/sfw/bin/gawk, if you have the Solaris 8 companion
CD installed).

Similar Messages

  • SP2-0027: Input is too long -error on pl/sql procedure

    Hi,
    We are on Oracle 11.2.0.2 on Solaris 10. I have a procedure call that errors out with this error:
    SP2-0027: Input is too long (> 2499 characters) - line ignored
    It is one single procedure but it takes too many long inputs in it. This giant procedure call -with some names changed - is as below - is there a way I can avoid this errro? I will be thankful for inputs on it.
    SQL> exec func_j23k_TYPE_ADD( 'coR-EXECUTION-SUCCEEDED-XLS-PDF-HTM-TXT-CSV-XML-FLF','co Reporting','NOT',func_j23k_TYPE_ACTION_ARRAY(func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Find in Report List'),LANG_TEXT_TYPE('en_CA', 'Find in Report List'),LANG_TEXT_TYPE('fr_CA', 'Chercher dans la liste des rapports'),LANG_TEXT_TYPE('es_US', 'Buscar en lista de informes')),'/Reporting/el/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open using Excel'),LANG_TEXT_TYPE('en_CA', 'Open using Excel'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format Excel'),LANG_TEXT_TYPE('es_US', 'Abrir usando Excel')),'/Reporting/el/xls/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open in PDF'),LANG_TEXT_TYPE('en_CA', 'Open in PDF'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format PDF'),LANG_TEXT_TYPE('es_US', 'Abrir en PDF')),'/Reporting/el/pdf/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open in HTML'),LANG_TEXT_TYPE('en_CA', 'Open in HTML'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format HTML'),LANG_TEXT_TYPE('es_US', 'Abrir en HTML')),'/Reporting/el/html/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open in TXT'),LANG_TEXT_TYPE('en_CA', 'Open in TXT'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format TXT'),LANG_TEXT_TYPE('es_US', 'Abrir en TXT')),'/Reporting/el/txt/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open in CSV'),LANG_TEXT_TYPE('en_CA', 'Open in CSV'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format CSV'),LANG_TEXT_TYPE('es_US', 'Abrir en CSV')),'/Reporting/el/csv/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Open in XML'),LANG_TEXT_TYPE('en_CA', 'Open in XML'),LANG_TEXT_TYPE('fr_CA', 'Ouvrir au format XML'),LANG_TEXT_TYPE('es_US', 'Abrir en XML')),'/Reporting/el/xml/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL),func_j23k_TYPE_ACTION_TYPE(LANG_TEXT_ARRAY(LANG_TEXT_TYPE('en_US', 'Download Data Extract File'),LANG_TEXT_TYPE('en_CA', 'Download Data Extract File'),LANG_TEXT_TYPE('fr_CA', 'Télécharger le fichier d''extraction de données'),LANG_TEXT_TYPE('es_US', 'Descargar archivo de extracción de datos')),'/Reporting/el/flf/',1,func_TYPE_ACTION_STATUS_ARRAY(),func_TYPE_ACTION_SCREEN_ARRAY(),'NWR',NULL, NULL)), 'MC');
    SP2-0027: Input is too long (> 2499 characters) - line ignoredThanks,
    OrauserN

    It is an sqlplus error..
    Did you try this?
    begin
    func_j23k_TYPE_ADD( 'coR-EXECUTION-SUCCEEDED-XLS-PDF-HTM-TXT-CSV-XML-FLF',
      'co Reporting',
       'NOT',
    end;http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4789399600346029472

  • SP2-0027: Input is too long error during Apex 4.0 installation

    I have come across an error while installing Apex 4.0.
    The installation reached the point where it gave a SP2-0027 error
    ...PAGE 72: Workspace Schemas
    ...PAGE 73: &PRODUCT_NAME. Workspace Creation
    ...PAGE 74: Page Views By Day Report
    ...PAGE 75: Page Views by Application and Page
    ...PAGE 76: Hourly Usage
    ...PAGE 77: Usage by Application, for selected hour
    ...PAGE 78: Page Performance Dashboard
    ...PAGE 79: Database
    SP2-0027: Input is too long (> 2499 characters) - line ignored
    wwv_flow_api.create_report_region (
    ERROR at line 16:
    ORA-06550: line 16, column 1:
    PLS-00703: multiple instances of named argument in list
    ORA-06550: line 16, column 1:
    PL/SQL: Statement ignored
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Following this, I looked up Apex help, and so checked dba_registry
    C:\apex>C:\oraclexe\app\oracle\product\10.2.0\server\BIN\sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 13 15:40:05 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect sys as sysdba
    Enter password:
    Connected.
    SQL> SELECT STATUS FROM DBA_REGISTRY
    2 WHERE COMP_ID = 'APEX';
    STATUS
    LOADING
    Please help
    Edited by: user4477408 on Jul 19, 2010 3:35 PM
    Edited by: user4477408 on Jul 26, 2010 11:29 AM

    Did you keep any kind of external references to your pages/reports? From what it looks like, one of your report regions exceeds 2500 characters and APEX is having a hard time crunching it. See if you can find that page, then export that page, delete the region, and import the page on it's own later.
    Not sure why it would be such a small area, though. I usually don't have any trouble until I hit 32K characters.

  • Using DBMS_REDEFINITION.START_REDEF_TABLE I get SP2-0027: Input is too long

    Hello, I am using the DBMS_REDEFINITION.START_REDEF_TABLE to migrate a large table to unicore data types. When I attempt this the list of columns is too long and it generates:
    SP2-0027: Input is too long (> 2499 characters) - line ignored
    Below is the procedure call. Is there a way to over come this?
    EXECUTE DBMS_REDEFINITION.START_REDEF_TABLE( -
    'FOCUS',
    'PREFERRED_CUSTOMER',
    'INT_PREFERRED_CUSTOMER', -
    'PREFERRED_CUST_KEY PREFERRED_CUST_KEY,SIGNUP_STORE_KEY SIGNUP_STORE_KEY,SIGNUP_ASSOC_EMPKEY SIGNUP_ASSOC_EMPKEY,PREFERRED_CUST_NUM PREFERRED_CUST_NUM, -
    ALT_PREFERRED_CUST_NUM ALT_PREFERRED_CUST_NUM,TAX_EXEMPT_NUMBER TAX_EXEMPT_NUMBER,EMPLOYEE_KEY EMPLOYEE_KEY,SIGNUP_DATE SIGNUP_DATE,ALLOW_CONTACT_IND ALLOW_CONTACT_IND, -
    ALLOW_DISTRIB_IND ALLOW_DISTRIB_IND, ALLOW_EMAIL_IND ALLOW_EMAIL_IND, ALLOW_EMAIL_IND_EFF_DATE ALLOW_EMAIL_IND_EFF_DATE, ALLOW_MAIL_IND ALLOW_MAIL_IND, -
    ALLOW_MAIL_IND_EFF_DATE ALLOW_MAIL_IND_EFF_DATE, ALLOW_TELEMARKET_IND ALLOW_TELEMARKET_IND, ALLOW_DIRECT_MAIL_IND ALLOW_DIRECT_MAIL_IND, ALLOW_STMT_INSERT_IND ALLOW_STMT_INSERT_IND, -
    CUST_SOURCE_CD CUST_SOURCE_CD, NAME_ADDR_SOURCE_CD NAME_ADDR_SOURCE_CD, NAME_ADDR_EFF_DATE NAME_ADDR_EFF_DATE, TO_NCHAR(LAST_NAME) LAST_NAME, TO_NCHAR(FIRST_NAME) FIRST_NAME, -
    TO_NCHAR(MIDDLE_INIT) MIDDLE_INIT, TO_NCHAR(NAME_PREFIX) NAME_PREFIX, TO_NCHAR(NAME_SUFFIX) NAME_SUFFIX, TO_NCHAR(ADDRESS1) ADDRESS1, TO_NCHAR(ADDRESS2) ADDRESS2, -
    TO_NCHAR(ADDRESS3) ADDRESS3, TO_NCHAR(CITY) CITY, TO_NCHAR(STATE) STATE, COUNTRY COUNTRY, ZIP ZIP, ZIP ZIP, ZIP5 ZIP5, HOME_PHONE HOME_PHONE, AREA_CODE AREA_CODE, -
    AREA_CODE_EXCHNG AREA_CODE_EXCHNG, WORK_PHONE WORK_PHONE, DATE_OF_BIRTH DATE_OF_BIRTH, GENDER_CD GENDER_CD,  INSTORE_CONTACT_EMPKEY INSTORE_CONTACT_EMPKEY, -
    LAST_TRANSACTION_TIME LAST_TRANSACTION_TIME, LAST_TRANS_AMT LAST_TRANS_AMT, LAST_RETAIL_TRANS_TIME LAST_RETAIL_TRANS_TIME, LAST_CATALOG_TRANS_TIME LAST_CATALOG_TRANS_TIME, -
    LAST_INTERNET_TRANS_TIME LAST_INTERNET_TRANS_TIME, LIFETIME_AMT LIFETIME_AMT, LIFETIME_RETAIL_AMT LIFETIME_RETAIL_AMT, LIFETIME_CATALOG_AMT LIFETIME_CATALOG_AMT, -
    LIFETIME_INTERNET_AMT LIFETIME_INTERNET_AMT, LIFETIME_UNIT_CNT LIFETIME_UNIT_CNT, LIFETIME_RETAIL_UNIT_CNT LIFETIME_RETAIL_UNIT_CNT, LIFETIME_CATALOG_UNIT_CNT LIFETIME_CATALOG_UNIT_CNT, -
    LIFETIME_INTERNET_UNIT_CNT LIFETIME_INTERNET_UNIT_CNT, LIFETIME_RETURN_AMT LIFETIME_RETURN_AMT, LIFETIME_RETAIL_RETURN_AMT LIFETIME_RETAIL_RETURN_AMT, -
    LIFETIME_CATALOG_RETURN_AMT LIFETIME_CATALOG_RETURN_AMT, LIFETIME_INTERNET_RETURN_AMT LIFETIME_INTERNET_RETURN_AMT, LIFETIME_RETURN_UNIT_CNT LIFETIME_RETURN_UNIT_CNT, -
    LIFETIME_RETAIL_RTRN_UNIT_CNT LIFETIME_RETAIL_RTRN_UNIT_CNT, LIFETIME_CATALOG_RTRN_UNIT_CNT LIFETIME_CATALOG_RTRN_UNIT_CNT, LIFETIME_INTERNT_RTRN_UNIT_CNT LIFETIME_INTERNT_RTRN_UNIT_CNT, -
    LIFETIME_VISIT_CNT LIFETIME_VISIT_CNT, LIFETIME_RETAIL_VISIT_CNT LIFETIME_RETAIL_VISIT_CNT, LIFETIME_CATALOG_VISIT_CNT LIFETIME_CATALOG_VISIT_CNT, -
    LIFETIME_INTERNET_VISIT_CNT LIFETIME_INTERNET_VISIT_CNT, LIFETIME_RTRN_VISIT_CNT LIFETIME_RTRN_VISIT_CNT, LIFETIME_RETAIL_RTRN_VISIT_CNT LIFETIME_RETAIL_RTRN_VISIT_CNT, -
    LIFETIME_CATALG_RTRN_VISIT_CNT LIFETIME_CATALG_RTRN_VISIT_CNT, LIFETIME_INTRNT_RTRN_VISIT_CNT LIFETIME_INTRNT_RTRN_VISIT_CNT, LAST_CONTACT_DATE LAST_CONTACT_DATE, -
    LAST_CONTACT_TYPE LAST_CONTACT_TYPE, LAST_CATALOG_SENT_DATE LAST_CATALOG_SENT_DATE, LIFETIME_CATALOG_SENT_CNT LIFETIME_CATALOG_SENT_CNT, PRIVATE_CC_ACCT_NUM PRIVATE_CC_ACCT_NUM, -
    PRIVATE_CC_FIRST_USE_DATE PRIVATE_CC_FIRST_USE_DATE, PRIVATE_CC_ACCT_BALANCE PRIVATE_CC_ACCT_BALANCE, PRIVATE_CC_LIMIT_AMT PRIVATE_CC_LIMIT_AMT, PRIVATE_CC_LIMIT_SET_DATE PRIVATE_CC_LIMIT_SET_DATE, -
    PRIVATE_CC_LIMIT_EXPIRES_DATE PRIVATE_CC_LIMIT_EXPIRES_DATE, PRIVATE_CC_NUM_CARDS_ISSUED PRIVATE_CC_NUM_CARDS_ISSUED, PRIVATE_CC_JC_FIRST_NAME PRIVATE_CC_JC_FIRST_NAME, -
    PRIVATE_CC_JC_MIDDLE_INIT PRIVATE_CC_JC_MIDDLE_INIT, PRIVATE_CC_JC_LAST_NAME PRIVATE_CC_JC_LAST_NAME, PRIVATE_CC_APP_STORE_KEY PRIVATE_CC_APP_STORE_KEY, -
    ALT_ACCT_NUMBER ALT_ACCT_NUMBER, SOCIAL_SEC SOCIAL_SEC, COMPANY_NAME COMPANY_NAME, BUSINESS_TITLE BUSINESS_TITLE, HOW_DID_YOU_HEAR_CD HOW_DID_YOU_HEAR_CD, -
    HOW_DID_YOU_HEAR_EFF_DATE HOW_DID_YOU_HEAR_EFF_DATE, PREFERRED_PROMO_METHOD_CD PREFERRED_PROMO_METHOD_CD, PREF_CUST_STATUS1_CD PREF_CUST_STATUS1_CD, PREF_CUST_STATUS1_EFF_DATE PREF_CUST_STATUS1_EFF_DATE, -
    PREF_CUST_STATUS2_CD PREF_CUST_STATUS2_CD, PREF_CUST_STATUS2_EFF_DATE PREF_CUST_STATUS2_EFF_DATE, PREF_CUST_STATUS3_CD PREF_CUST_STATUS3_CD, PREF_CUST_STATUS3_EFF_DATE PREF_CUST_STATUS3_EFF_DATE, -
    EMAIL_ADDR EMAIL_ADDR, COUNTRY_CD COUNTRY_CD');--
    Thank you,
    David

    I am not familiar with this. How would you recommend doing this?
    David

  • SP2-0027: Input is too long ( 2499 characters) - line ignored

    Hi All,
    I am getting SP2-0027: Input is too long (> 2499 characters) - line ignored error when running a script. It looks like it is a limitation of the buffer size to be 2500 characters. I tried both the command prompt sqlplus and SQL Plus, nothing worked. Is there any other way to avoid that as I have to migrate the whole database which is in insert statement's script form.
    BTW I am using Oracle 10g
    Thanks

    You're going to have to add line feeds to that file to make the line sizes smaller. Hopefully you're on Unix where you can use sed.

  • Data record too long to be imported (0 or 5000)

    Dear Expert
    in LSMW While display the read record this is the error comes
    "Data record too long to be imported (0 or >5000)"
    how to rectify this?
    but system allows for further steps and upload the maser record
    Regards
    Karan

    Hi,
       Hope the same question is already answered in the thread: Error in uploading master through LSMW
       Please check and revert back if its not solved.
    Regards,
    AKPT

  • Error message at the reception of attachments sent from my imac "message truncated because too long"thank you

    when sending an email with attached a piece from my mac (ex: pdf) upon receipt of the above other than Mac an error message appears "message truncated for too long" how to solve this problem
    this mail is read perfectly on my iphone
    thanks

    Refer to this:
    Errors "Exit Code: 6," "Exit Code: 7"
    Mylenium

  • RSYST-CODE-input data too long

    we have implemented ESS on EP 7..when we try to naviagte through my workspace and if select any services such as Performance Mangement , Leraning and development it will take us to a screen where prompt us to log for Production system ,,...
    Service :WEBGUI
    RSYST-CODE-input data too long
    if i give necessary acces it will connects to the R/3 ..
    is there any coonection based configuration to be check in order to by pass getting this screen..
    regards
    Buddhike

    Hi Lynton,
    As mentioned in the thread you listed, it is possible that this error is being caused by using certain characters, such as ü, á, $, &, -. In order to check if any catalog has strange characters, please check in transaction SPRO -> Supplier Relationship Management -> SRM Server -> Master Data -> Define External Web Services. Check in "Web Service ID" if any catalogs contain strange characters.If so, remove them and retest the issue.
    Kind Regards,
    Conor Harkin

  • XML Input String too long to Test Web Service in App Server

    We have a Web Service that accepts an XML input string but when we deploy this web service and try to test it through the Application Server it errors out because the input string is too long. Is there any way around this??
    Thanks...

    Update:
    Now I see that there are in fact two error messages. The second one is the one presented above. But the first one says:
    Line: 145
    Char: 97
    Error: Expected ';'
    Code: 0
    My question now is to what file it is referring?? Is it to ProjectAccountingPort.js that is automatically created? THen why is it not properly created??
    Please, please help me with this! The deadline is in a few days...

  • Awk record too long

    i have files which hav input record greater ten 12000 ... what is the work around

    Try gnu awk. It has no record length limits.

  • Apple Mail Message headers are too long

    I just recently noticed that all the headers of my messages are really long, i can't see my messages until I scroll down. I tried to adjust the headers in my preferences and they still don't look normal. How can I fix this problem?????
    Please help.
    Thanks.
    Ken

    Please, clarify. What does “the headers are really long” mean? Is it that they show a lot of information or that they take up too much space on the screen with lots of unused blank space in between?
    If the latter (which is not what you appear to be saying), then this is a font issue caused by having disabled or removed a font that Mail needs to work properly (e.g. Helvetica):
    Font Management in Mac OS X Tiger and Panther

  • Text messaging: video suddenly too long??

    How is it possible that I sent a video yesterday to two people at a time and it went through, but today, I can't send the video through text messages at all? I don't want to clip it. It is only 1:40 sec. long.

    Hi aceritch,
    I'm sorry to hear you are having issues with your iPhone. I also apologize, I'm a bit unclear exactly what you are seeing when you try to send your video clip, or if this is happening with any other messages (other video clips, pics, audio, text, etc). If you continue to have issues sending video in Messages on your iPhone, you may find the information and troubleshooting steps outlined in the following articles helpful:
    Send audio, photos, and videos using Messages on your iPhone, iPad, or iPod touch with iOS 8 - Apple Support
    iOS: Troubleshooting Messages - Apple Support
    Regards,
    - Brenden

  • What do I do if I sent a message that was too long and now my iMessage will not work.

    So I sent really long message on iMessage using an itouch 4g to an iPhone 4. At first both our iMessage accounts were frozen, but she got hers back and now I am recieving her messages but I can't view them or respond or even delete the conversation to start a new one...

    I have the same Probalem also !
    I tried everything
    -turning off my iPod n ipad
    -turning off iMessage n turning it back on again
    -changing my DNS
    -checking my mail
    ALl of it didn't work help me pls

  • Urgent: SQL*Loader-562: record too long

    with sqlldr73 , no problem
    but with sqlldr of 817 : i've got the problem !!??
    any help please ...
    Mourad from Paris

    Hi Sandeep,
    Oracle guru Dave Moore has many sample SQL*Loader control files published:
    http://www.google.com/search?&q=oracle+moore+sql%2aloader
    Here is a simple sample control file to load many tables:
    http://www.dba-oracle.com/t_sql_loader_multiple_tables_sqlldr.htm
    Hope this helps. . .
    Donald K. Burleson
    Oracle Press author

  • Workbook Precalculation: "Message text too long:

    Good day
    I have setup the precalculation server/services and all is well except for the size of some workbooks.  I receive the following message:
    u201CThe message could not be delivered to recipient  because the message    
    text was too long. The node used supports messages up to a a length of  
    20,000,000 bytes. The message text is, however, 43,152,918 bytes long.u201D
    I have deleted the results from the workbook before precalculation and the file is zipped for email.
    Where in BW will basis have to increase the size when a workbook is precalculated and mailed?
    Thanks in advance.
    Cj

    Hi,
    Please refer this link for the same -
    Re: error  Entry is too long  is displayed for the text edit
    Regards,
    Lekha.

Maybe you are looking for

  • Using a 'Welcome' file

    Setting the starting page for a project is a simple matter, but I'm having some trouble trying to automatically forward to another page inside the framework. My intention is to automatically redirect from 'index.jsp' to another page, purely for the p

  • Change of encoding

    Hello, I have a problem.When I change (or open document in "windows-1250") in MX 2004 encoding from default "iso" to "windows-1250",the source code is unreadable... See here Screenshot of error . I tryed also download newer 8.0 but same problem. Than

  • Downloading a Software Program for a Golf League

    I just purchased and downloaded a Golf League software program from a website and I can't execute the file to install. I am told by their technical support, that I would need to purchase a SOFT WINDOWS PC or Microsoft Virtual PC software before I cou

  • Default numeric format in steps

    Hello, In my sequence, I have a step which call a IV in which I display numeric value of properties in TestStand. Those properties have default numeric format. So I want to display rhe number of digit as defined in report options (the value of those

  • Adobe Reader keeps crashing on iPad Air

    Not sure if this has already been mentioned by others but my adobe reader keeps crashing every time I pull up any power points since the last update. It is really frustrating since I have so many power points on it from school saved with notes. Is th