<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: using When condition in sql control file in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/using-when-condition-in-sql-control-file/m-p/4196553#M91452</link>
    <description>A snippit of your code would help, but I'll take a stab at it.&lt;BR /&gt;&lt;BR /&gt;If this is a shell script,&lt;BR /&gt;When is not a valid condition.&lt;BR /&gt;&lt;BR /&gt;empno is not defined as a specific type.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;set -x&lt;BR /&gt;typeset -i empno=2   #define var as integer&lt;BR /&gt;&lt;BR /&gt;if [  $empno -eq 2 ];then&lt;BR /&gt;    print "employee 2"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;while [ $empno -eq 2 ];do&lt;BR /&gt;    print "employee 2"&lt;BR /&gt;    empno=3&lt;BR /&gt;done&lt;BR /&gt;# end job&lt;BR /&gt;&lt;BR /&gt;Rob...</description>
    <pubDate>Thu, 15 May 2008 12:44:31 GMT</pubDate>
    <dc:creator>Robin T. Slotten</dc:creator>
    <dc:date>2008-05-15T12:44:31Z</dc:date>
    <item>
      <title>using When condition in sql control file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-when-condition-in-sql-control-file/m-p/4196552#M91451</link>
      <description>Hi,&lt;BR /&gt;I am using a when condition for a number like&lt;BR /&gt;When empno=2 &lt;BR /&gt;but i am getting an exception like --Expecting quoted string or hex identifier, found "2".&lt;BR /&gt;&lt;BR /&gt;When i use "2" or '2' the records are not being loaded as empno is a number.&lt;BR /&gt;&lt;BR /&gt;Please let me know how to go about this?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gyan</description>
      <pubDate>Tue, 13 May 2008 08:24:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-when-condition-in-sql-control-file/m-p/4196552#M91451</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2008-05-13T08:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: using When condition in sql control file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-when-condition-in-sql-control-file/m-p/4196553#M91452</link>
      <description>A snippit of your code would help, but I'll take a stab at it.&lt;BR /&gt;&lt;BR /&gt;If this is a shell script,&lt;BR /&gt;When is not a valid condition.&lt;BR /&gt;&lt;BR /&gt;empno is not defined as a specific type.&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;set -x&lt;BR /&gt;typeset -i empno=2   #define var as integer&lt;BR /&gt;&lt;BR /&gt;if [  $empno -eq 2 ];then&lt;BR /&gt;    print "employee 2"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;while [ $empno -eq 2 ];do&lt;BR /&gt;    print "employee 2"&lt;BR /&gt;    empno=3&lt;BR /&gt;done&lt;BR /&gt;# end job&lt;BR /&gt;&lt;BR /&gt;Rob...</description>
      <pubDate>Thu, 15 May 2008 12:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-when-condition-in-sql-control-file/m-p/4196553#M91452</guid>
      <dc:creator>Robin T. Slotten</dc:creator>
      <dc:date>2008-05-15T12:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: using When condition in sql control file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-when-condition-in-sql-control-file/m-p/4196554#M91453</link>
      <description>oops sorry forgot about it,its not about unix,it is sql loader concept.</description>
      <pubDate>Thu, 15 May 2008 13:59:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-when-condition-in-sql-control-file/m-p/4196554#M91453</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2008-05-15T13:59:26Z</dc:date>
    </item>
  </channel>
</rss>

