Error Expected Hpux Not Syntax
Contents |
Things Small and Medium Business Service Providers All Solutions Services Advise, Transform and Manage Financing and Flexible Capacity IT Support 0403-057 syntax error Services Education and Training Services All Services Products Integrated
Is Not Expected
Systems Composable Systems Converged Systems Hyper Converged Systems Blade Systems Infrastructure Management Software syntax error is not expected Application Lifecycle Management Application Delivery Management Big Data Analytics DevOps Enterprise Security Hybrid and Private Cloud Information Governance Information Management IT Service Management Operations Management Server Management Software as a Service (SaaS) Software-Defined Data Center Storage Management All Software Servers Rack Servers Tower Servers Blade Servers Density Optimized Mission Critical Servers Servers for Cloud Server Management All Servers Storage All-flash and Hybrid Storage Midrange and Enterprise Storage Entry Storage Systems Data Availability, Protection and Retention Software Defined Storage Management and Orchestration Storage Networking All Storage Networking Switches Routers Access Points and Controllers Wireless LAN Campus and Branch Networking Data Center Networking Wide Area Network Software Defined Networking Network Functions Virtualization Network Management All Networking About UsSupportClearType to search2086159Solutions Transform to a Hybrid Infrastructure Protect Your Digital Enterprise Empower the Data-Driven Organization Enable Workplace Productivity Cloud Security Big Data Mobility Infrastructure Internet of Things Small and Medium Business Service Providers All Solutions Services Advise, Transform and Manage Financing and Flexible Capacity IT Support Services Education and Training Services All Services Products Integrated Systems Composable Systems Converged Systems Hyper Converged Systems Blade Systems Infrastructure Management Software Application Lifecycle Management Application Delivery Management Big Data Analytics DevOps Enterprise Security Hybrid and Private Cloud Information Governance Information Management IT Service Management Operation
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs 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 them; it only takes a minute: Sign up 0403-057 Syntax error: `;' is not expected up vote 0 down vote favorite if [ -d patch/tempatch https://community.hpe.com/t5/System-Administration/if-is-not-matched-message-in-shell-script/td-p/2814912 ]; then; cd patch/tempatch/; for i in `ls`; do; tar -xvf $i; rm -f $i; done; for i in `ls`; do; cd $i; cp -R files/* patch/SP02JUL11/files/; cd ..; rm -Rf $i; done; else; echo "directory not found"; fi All the commands in single line by separating with ";" While executing it throws 0403-057 Syntax error: ; is not expected can anyone help on this ? Thank you unix unix-domain-sockets share|improve this http://stackoverflow.com/questions/22684462/0403-057-syntax-error-is-not-expected question edited Mar 27 '14 at 10:21 Abhineet 3,809936 asked Mar 27 '14 at 10:16 user3468019 312 First good step would be to indent the code. I am sure then it will be pretty easy to find out where the problem is. –fedorqui Mar 27 '14 at 10:17 if you have created code in Windows, and moved to linux, do dos2unix myScript. Good luck. –shellter Mar 27 '14 at 11:32 I am writing caode in java and executing in UNIX system –user3468019 Mar 27 '14 at 11:38 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted It's not specified which shell is interpereting this script... From error code I assume it's ksh... From the error message, I presume that the problem is that after then, else, do, ksh does not accept a ;. However, just out of curiosity, I did just install ksh on my linux box. It's at version "93u+ 2012-08-01". Your script runs just fine, no syntax errors, here... Probably you are running a different (possibly older) version of the shell, or a different shell at all... You should definitely specify which shell you're using... :-). share|improve this answer edited Mar 28 '14 at 8:39 answered Mar 27 '14
Base » Shell error when using call 'system' syntax Shell error when using call 'system' syntax Net http://community.microfocus.com/microfocus/cobol/net_express__server_express/w/knowledge_base/6342.shell-error-when-using-call-system-syntax.aspx Express / Server Express Net Express (for Windows) and Server Express (for Linux and UNIX) are highly productive COBOL development environments, enabling developers to produce high performance http://unix.ittoolbox.com/groups/technical-functional/unixadmin-l/simple-if-statment-qustion-1306234 enterprise applications to run on a wide range of hardware and operating systems. Join group Get this RSS feed Home Forum Blog Wikis Files Members Table of syntax error Contents Knowledge Base 'C' application calling COBOL and returning cannot fiind Cblrtss.dll error 'REBUILD aborted - Invalid key specification - key not contained in record'. .llong should be used for relocatable expressions. Avoiding error 1304-S when using a user defined FUNCTION CICS Transaction : CPMT NEWCOPY Could not load module libcobrts64_t.2.so. under AIX De-referencing is not expected a NULL pointer in C causes SIGNAL 11 abort. Dialog System ListView extensions Embedding an Icon Image into an Executable Errno value from a process is higher than 128 Error trying to build executable on HP/UX External Compiler Module message : ES0103 EXTSM.obj is not found in the sort FATAL ERROR -- Cannot access message file File status 9/037 File Status 9/065 ( file locked ) File Status 9/126 for a CISAM file File Status 9/194 Fixpack installation fails
Technology and Trends Enterprise Architecture and EAI ERP Hardware IT Management and Strategy Java Knowledge Management Linux Networking Oracle PeopleSoft Project and Portfolio Management SAP SCM Security Siebel Storage UNIX Visual Basic Web Design and Development Windows < Back CHOOSE A DISCUSSION GROUP Research Directory TOPICS Database Hardware Networking SAP Security Web Design MEMBERS Paul_Pedant DACREE MarkDeVries MacProTX Inside-ERP VoIP_News Inside-CRM maxwellarnold I_am_the_dragon PCMag Michael Meyers-Jouan TerryCurran Chris_Day Andrew.S.Baker JoeTorre bracke Locutus Ramnath.Awate Dennis Stevenson Craig Borysowich DukeGanote Richard mircea_luca AbhaiTripathi Nikki Klein knowscognosdoi Clinton Jones blrvenkat Iqbalyk bluesguyAZ59 COMPANIES Hewlett Packard Hitachi America, LTD Compuware Fiberlink Communications View All Topics View All Members View All Companies Toolbox for IT Topics UNIX Groups Ask a New Question UNIX - General Discussions The UNIX Admin group is a forum where peers share technical expertise, solve problems, and discuss issues related to UNIX operating systems, software and system administration. Home | Invite Peers | More UNIX Groups Your account is ready. You're now being signed in. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Newsletter Jobs By clicking "Join Now", you agree to Toolbox for Technology terms of use, and have read and understand our privacy policy. simple if statment qustion... cchiang12 asked Jan 12, 2007 | Replies (16) this is ksh, trying to make this work: if [["apple" == "apple"]] then echo "File Found" fi I try various ways, but I keep getting this error: ksh: 0403-057 Syntax error: `fi' is not expected. for the life of me, I can't figure it out why it's giving error.... HELP... Join this group Popular White Paper On This Topic Top 5 Mobile Security Threats 16Replies Best Answer 1 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... Brian King replied Jan 12, 2007 You need a ; before the then, or put the then on a new line. Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be