Error Code 65280 Bcp
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the exit code 65280 in unix workings and policies of this site About Us Learn more about Stack
Exit Code 65280 Linux
Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs exit code 65280 in informatica Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join error code 65280 in unix them; it only takes a minute: Sign up Perl system() call failed with return code 65280 up vote 2 down vote favorite I the code below, I can run $retCode = ClearCase($cmd); with no error, but return 65280 when run this: $retCode = ClearCase($logcmd); I tried on XP and Windows 2003 server, same result, all with ActiveState Perl v5.14.2. This
Error Code 65280 In Informatica
code was working 2 years ago somewhere else. Thanks Jirong $g_HPPC_DEV_DRIVE = "M"; $g_HPPC_DEV_VIEW = "bldforge_AOMS_DEV"; $g_logfile = "logfile.txt"; $cmd = "startview $g_HPPC_DEV_VIEW"; $logcmd = $cmd . " >> $g_logfile 2>>&1"; $targetDir = $g_HPPC_DEV_DRIVE . ":\\" . $g_HPPC_DEV_VIEW; print "\$targetDir = $targetDir\n"; print "Starting view .......\n"; #$retCode = system("cleartool startview bldforge_AOMS_DEV >> logfile.txt"); #$retCode = `cleartool startview bldforge_AOMS_DEV`; $retCode = ClearCase($logcmd); #$retCode = ClearCase($cmd); sub ClearCase { my $retCode = 0; my $args = $_[0]; my $cmd = "cleartool " . $args; $retCode = Execute($cmd); return $retCode; } sub Execute { my $retCode = 0; my $cmd = $_[0]; if ($g_HPPC_BUILD_SIMULATION ne "Y") { print("Execute() Running...: $cmd\n"); $retCode = system($cmd); #$retOut = `$cmd`; #$retCode = $?; #print("Command execute output: $retOut\n"); } else { print("Execute() *** SIMULATION: $cmd\n"); } print("Execute() retCode = $retCode, $cmd\n"); return $retCode; } windows perl clearcase cleartool share|improve this question edited Aug 16 '12 at 17:24 DavidO 11.2k32651 asked Aug 16 '12 at 14:20 user1288329 4016 You should use autodie or check $! to see if you get anything more
to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, linux return code 65280 select the forum that you want to visit from the selection below. Results perl exit code 65280 1 to 5 of 5 Thread: Return Codes for Sybase BCP Tweet Thread Tools Show Printable Version Subscribe to this Thread…
Ssh Return Code 65280
Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 05-07-02,13:43 #1 tho View Profile View Forum Posts Registered User Join Date Feb 2002 Posts 16 Unanswered: http://stackoverflow.com/questions/11989196/perl-system-call-failed-with-return-code-65280 Return Codes for Sybase BCP Hi guys I was wondering if you could help me. I have been trying to do some test relating to BCP. I have been trying to BCP into a database table some data (484 rows) from a data file. I have manipulated 2 rows from this data file in order to fail the BCP process. The BCP process bulk copies 482 rows into http://www.dbforums.com/showthread.php?372602-Return-Codes-for-Sybase-BCP the table as expected. How can I determine the return code for this BCP process I had executed ? Does BCP return any return code despite finding bad data along the way as I have explained above ? I have been developing a Perl program to determine this return code and it always return me zero value. I am assuming zero value means the BCP was successful. Is this correct ? I would be most grateful for any advice Many thanks Tony Reply With Quote 05-09-02,08:39 #2 MattR View Profile View Forum Posts Visit Homepage Registered User Join Date Mar 2001 Location Lexington, KY Posts 606 I am not sure if it returns an error code, check the documentation here: http://manuals.sybase.com/onlinebook...util/@ebt-link;pt=1806?target=%25N%15_10086_START_RESTART_N%25 Your most reliable bet would be to read the error log it creates: http://manuals.sybase.com/onlinebook...kTextView/6057;pt=6057#X Thanks, Matt Reply With Quote 05-19-02,11:41 #3 rayvid123 View Profile View Forum Posts Junior Member Join Date May 2002 Posts 11 Re: Return Codes for Sybase BCP Tho, U can use Unix scripts for your above query. This is how you can do this: bcp .... > outputfile egrep a word from output file that you see when 2 rows are not copied to the Sybase ser
a batch start-up and issuing a return code of 65280. I suspect this has something to do with an evironment variable that is missing somewhere. Can anyone confirm this for me? Thanks in advance. Jonathan Lent JCPenney AIT/TS [All comments are mine -- of course] Top ISQL http://www.verycomputer.com/160_648ed9cc0eded1eb_1.htm Terminates with return code 65280 -- What is this? by Pravin Rangnek » Wed, 03 Apr 1996 04:00:00 https://forums.cpanel.net/threads/system-failed-with-exit-code-65280.328371/ >We has a problem with Sybase ISQL cratering during a batch >start-up and issuing a return code of 65280. I suspect this has >something to do with an evironment variable that is missing >somewhere. Can anyone confirm this for me? >Thanks in advance. >Jonathan Lent >JCPenney AIT/TS >[All comments are mine -- of course] Please provide some details, about the error. Pravin Rangnekar Click Click, Inc. Opinions expressed herein are my own and may code 65280 not represent those of 3M. Top 1. BCP msg 65280 Hi, I got an error in an overnight archiving process, where a BCP out failed with error 65280. When I say "it failed", I mean that a Perl script was executing a BCP command via a call to system(), and the status returned was 65280: $bcpCommand = "bcp $archTableStr out $bcpFile . " -U$FOSPNL_USER -P$FOSPNL_PASS" . " -S$FOSPNL_SERVER exit code 65280 -e $bcpErrFile -c"; $status = system($bcpCommand); if ($status == 0) { carry on processing } else { This is where I got the message } All the variable in the BCP command were properly defined, and the command string works in isolation; furthermore, I have since rerun the script and it had no such problems. Anyone know what message 65280 represents (if anything) ? I can't find it in Sybooks, or in the header files in our Sybase installation, nor is it one of our user defined messages (even if it was, I'd be a bit worried to see it produced by BCP). DejaNews doesn't seem to have anything from this NG either. Just in case you were wondering, 65280 was _not_ the number of rows copied out.... Here are some versions of things involved, if that helps: Perl 5.003 SQL Server 4.9.2.2 (I know, I know. Tell me about it...) BCP 4.6.1 OS SunOS 4.1.3_U1 I'd be grateful for any clues. TIA -- Simon Haven The views expressed here are not necessarily those of Warburg Dillon Read 2. Linked server til Access database with MDW protection 3. Can't let ISQL to return error code 4. Parameterized Queries on Oracle 5. isql return codes 6. Order on replication to tables 7. getting isql return code 8. Linking Screens for 2
Plans & Pricing Partners Support Resources Preview Forums Forums Quick Links Search Forums New Posts Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only Display results as threads More... Useful Searches Recent Posts Resources Resources Quick Links Search Resources Most Active Authors Latest Reviews Feature Requests Defects Menu Log in Sign up The Community Forums Interact with an entire community of cPanel & WHM users! cPanel Forums > cPanel & WHM® (for Linux® Servers) > EasyApache > This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More. system' failed with exit code '65280' !! Discussion in 'EasyApache' started by dragon2611, Mar 6, 2013. dragon2611 Well-Known Member Joined: Nov 30, 2003 Messages: 126 Likes Received: 0 Trophy Points: 16 Anyone know why this is failing on a centos 6.x X64 box? Annoyingly it reverts back to the previous Apache version even if I've selected the options Not to. -- Begin step 'set php_ini for PECL and PEAR' -- !! '/usr/local/bin/pear config-set php_ini /usr/local/lib/php.ini system' failed with exit code '65280' !! !! Restoring original working apache !! !! Executing '/scripts/initsslhttpd' !! !! Restarting 'httpd' ... !! !! 'httpd' restart complete. !! Building global cache for cpanel...Done !! Executing '/scripts/initfpsuexec' !! !! Executing '/scripts/initsslhttpd' !! !! Executing '/scripts/update_apachectl' !! !! Executing '/scripts/enablefileprotect' !!Click to expand... #1 dragon2611, Mar 6, 2013 cPanelKurtN Well-Known Member Staff Member Joined: Jan 29, 2013 Messages: 95 Likes Received: 1 Trophy Points: 8 cPanel Access Level: Root Administrator As root, what do you get when you execute the following commands? > /usr/local/bin/pear config-set php_ini /usr/local/lib/php.ini > echo $? NOTE: Make sure you execute 'echo $?' directly after running the pear command, with no other commands in between. Kurt Developer (ZeroCool Team, formerly EasyApache Team) Cpanel, Inc. #2 cPanelKurtN, Mar 6, 2013 dragon2611 Well-Known Member Joined: Nov 30, 2003 Messages: 126 Likes Received: 0 Trophy Points: 16 cPanelKurtN said: ↑ As root, what do you get when you execute the following commands? > /usr/local/bin/pear config-set php_ini /usr/local/lib/php.ini > echo $? NOTE: Make sure you execute 'echo $?' directly after running the pear command, with no other commands in between.Click to expand... Whoops