Deprecated API

Deprecated Classes
com.ibm.as400.access.AS400DateTimeConverter
          This class has been replaced by the DateTimeConverter class. 
com.ibm.as400.access.NetServerBeanInfo
          This class may be removed in a future release. 
com.ibm.as400.access.NetServerConnection
          This class has been replaced by the ISeriesNetServerConnection class and may be removed in a future release. 
com.ibm.as400.access.NetServerFileShare
          This class has been replaced by the ISeriesNetServerFileShare class and may be removed in a future release. 
com.ibm.as400.access.NetServerFileShareBeanInfo
          This class may be removed in a future release. 
com.ibm.as400.access.NetServerPrintShare
          This class has been replaced by the ISeriesNetServerPrintShare class and may be removed in a future release. 
com.ibm.as400.access.NetServerPrintShareBeanInfo
          This class may be removed in a future release. 
com.ibm.as400.access.NetServerSession
          This class has been replaced by the ISeriesNetServerSession class and may be removed in a future release. 
com.ibm.as400.access.NetServerShare
          This class has been replaced by the ISeriesNetServerShare class and may be removed in a future release. 
com.ibm.as400.resource.RIFSFile
          Use IFSFile instead, as this package may be removed in the future. 
com.ibm.as400.resource.RIFSFileList
          Use IFSFile instead, as this package may be removed in the future. 
com.ibm.as400.resource.RJavaProgram
          Use JavaProgram instead, as this package may be removed in the future. 
com.ibm.as400.resource.RJob
          Use Job instead, as this package may be removed in the future. 
com.ibm.as400.resource.RJobList
          Use JobList instead, as this package may be removed in the future. 
com.ibm.as400.resource.RJobLog
          Use JobLog instead, as this package may be removed in the future. 
com.ibm.as400.resource.RMessageQueue
          Use MessageQueue instead, as this package may be removed in the future. 
com.ibm.as400.resource.RPrinter
          Use Printer instead, as this package may be removed in the future. 
com.ibm.as400.resource.RPrinterList
          Use PrinterList instead, as this package may be removed in the future. 
com.ibm.as400.resource.RQueuedMessage
          Use QueuedMessage instead, as this package may be removed in the future. 
com.ibm.as400.resource.RSoftwareResource
          Use Product instead, as this package may be removed in the future. 
com.ibm.as400.resource.RUser
          Use User instead, as this package may be removed in the future. 
com.ibm.as400.resource.RUserList
          Use UserList instead, as this package may be removed in the future. 
 

Deprecated Fields
com.ibm.as400.access.JobList.ALL
          Use the selection constant that corresponds to the particular job selection criteria you are filtering. For example, to select jobs for all job names, do: JobList list = new JobList(system); list.addJobSelectionCriteria(JobList.SELECTION_JOB_NAME, JobList.SELECTION_JOB_NAME_ALL); For backwards compatibility, this has the same effect: JobList list = new JobList(system); list.setName(JobList.SELECTION_JOB_NAME_ALL);  
com.ibm.as400.access.Job.INTERNAL_JOB_ID
          The internal job identifier should be treated as a byte array of 16 bytes. 
 

Deprecated Methods
com.ibm.as400.access.ProfileTokenImplNative.generateToken(String, String, int, int)
          As of V5R3, replaced by ProfileTokenImplNative.generateTokenExtended(String,String,int,int) for password strings and ProfileTokenImplNative.generateToken(String,int,int,int) for password special values. 
com.ibm.as400.security.auth.ProfileTokenImpl.generateToken(String, String, int, int)
          As of V5R3, replaced by ProfileTokenImpl.generateTokenExtended(String,String,int,int) for password strings and ProfileTokenImpl.generateToken(String,int,int,int) for password special values 
com.ibm.as400.access.AS400JDBCRowSet.getBigDecimal(int, int)
          Use getBigDecimal(int) instead. 
com.ibm.as400.access.AS400JDBCResultSet.getBigDecimal(int, int)
          Use getBigDecimal(int) instead. 
com.ibm.as400.access.AS400JDBCCallableStatement.getBigDecimal(int, int)
          Use getBigDecimal(int) or getBigDecimal(String) instead. 
com.ibm.as400.access.AS400JDBCRowSet.getBigDecimal(String, int)
          Use getBigDecimal(String) instead. 
com.ibm.as400.access.AS400JDBCResultSet.getBigDecimal(String, int)
          Use getBigDecimal(String) instead. 
com.ibm.as400.access.AS400ConnectionPool.getConnection(String, String)
          Use getConnection(String systemName, String userID, String password) instead. 
com.ibm.as400.access.AS400ConnectionPool.getConnection(String, String, int)
          Use getConnection(String systemName, String userID, String password, int service) instead. 
com.ibm.as400.access.User.getGroupIDNumber()
          This method has been replaced by getGroupID() which returns a long. 
com.ibm.as400.access.Job.getInternalJobID()
          The internal job identifier should be treated as a byte array of 16 bytes. 
com.ibm.as400.access.ProgramCall.getJob()
          Use getServerJob() instead. 
com.ibm.as400.access.CommandCall.getJob()
          Use getServerJob() instead. 
com.ibm.as400.data.PcmlMessageLog.getLogFileName()
          Replaced by com.ibm.as400.access.Trace.getFileName(). 
com.ibm.as400.data.PcmlMessageLog.getLogStream()
          Replaced by com.ibm.as400.access.Trace.getPrintWriter(). 
com.ibm.as400.access.IFSFile.getOwnerId()
          Use getOwnerUID() instead. 
com.ibm.as400.access.AS400.getProfileToken()
          Use getProfileToken(int, int) instead. 
com.ibm.as400.access.AS400ConnectionPool.getSecureConnection(String, String)
          Use getSecureConnection(String systemName, String userID, String password) instead. 
com.ibm.as400.access.AS400ConnectionPool.getSecureConnection(String, String, int)
          Use getConnection(String systemName, String userID, String password, int service) instead. 
com.ibm.as400.access.MessageQueue.getSelection()
          Use isSelectMessagesNeedReply(), isSelectMessagesNoNeedReply(), and isSelectSendersCopyMessagesNeedReply() instead. The value returned by this method may not accurately reflect the actual selection criteria used to filter the list of messages. 
com.ibm.as400.access.AS400JDBCRowSet.getUnicodeStream(int)
          Use getCharacterStream(int) instead. 
com.ibm.as400.access.AS400JDBCResultSet.getUnicodeStream(int)
          Use getCharacterStream(int) instead. 
com.ibm.as400.access.AS400JDBCRowSet.getUnicodeStream(String)
          Use getCharacterStream(String) instead. 
com.ibm.as400.access.AS400JDBCResultSet.getUnicodeStream(String)
          Use getCharacterStream(String) instead. 
com.ibm.as400.access.User.getUserIDNumber()
          This method has been replaced by getUserID() which returns a long. 
com.ibm.as400.access.AS400JDBCDataSource.isPackageClear()
            
com.ibm.as400.data.PcmlMessageLog.isTraceEnabled()
          Replaced by com.ibm.as400.access.Trace.isTracePCMLOn(). 
com.ibm.as400.data.PcmlMessageLog.logError(Object)
          Replaced by com.ibm.as400.access.Trace.log(int category, String message). 
com.ibm.as400.data.PcmlMessageLog.logError(Object, Throwable)
          Replaced by com.ibm.as400.access.Trace.log(int category, String message, Throwable e). 
com.ibm.as400.data.PcmlMessageLog.printStackTrace(Throwable)
          Use java.lang.Throwable.printStackTrace(PrintWriter w). 
com.ibm.as400.access.Job.setInternalJobID(String)
          The internal job identifier should be treated as a byte array of 16 bytes. 
com.ibm.as400.data.PcmlMessageLog.setLogFileName(String)
          Replaced by com.ibm.as400.access.Trace.setFileName(String fileName). 
com.ibm.as400.data.PcmlMessageLog.setLogStream(OutputStream)
          Replaced by com.ibm.as400.access.Trace.setPrintWriter(PrintWriter obj). 
com.ibm.as400.access.AS400JDBCDataSource.setPackageClear(boolean)
            
com.ibm.as400.access.MessageQueue.setSelection(String)
          Use setSelectMessagesNeedReply(boolean), setSelectMessagesNoNeedReply(boolean), and setSelectSendersCopyMessagesNeedReply(boolean) instead. 
com.ibm.as400.security.auth.ProfileTokenCredential.setToken(AS400Principal, String)
          As of V5R3, replaced by ProfileTokenCredential.setTokenExtended(AS400Principal,String) for password strings or ProfileTokenCredential.setToken(AS400Principal,int) for password special values. 
com.ibm.as400.security.auth.ProfileTokenCredential.setToken(String, String)
          As of V5R3, replaced by ProfileTokenCredential.setTokenExtended(String,String) for password strings or ProfileTokenCredential.setToken(String,int) for password special values. 
com.ibm.as400.data.PcmlMessageLog.setTraceEnabled(boolean)
          Replaced by com.ibm.as400.access.Trace.setTracePCMLOn(boolean tracePCML). 
com.ibm.as400.access.AS400JDBCPreparedStatement.setUnicodeStream(int, InputStream, int)
          Use setCharacterStream(int, Reader, int) instead. 
com.ibm.as400.data.PcmlMessageLog.traceErr(Object)
          Replaced by com.ibm.as400.access.Trace.log(int category, String message). 
com.ibm.as400.data.PcmlMessageLog.traceOut(Object)
          Replaced by com.ibm.as400.access.Trace.log(int category, String message). 
 

Deprecated Constructors
com.ibm.as400.access.Job(AS400, String)
          The internal job ID should be treated as a byte array of 16 bytes. 
com.ibm.as400.access.SCS3812Writer(OutputStream)
          Replaced by SCS3812Writer(OutputStream, int, AS400). Any SCS3812Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS3812Writer(OutputStream, int)
          Replaced by SCS3812Writer(OutputStream, int, AS400). Any SCS3812Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS3812Writer(OutputStream, String)
          Replaced by SCS3812Writer(OutputStream, int, AS400). Any SCS3812Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5219Writer(OutputStream)
          Replaced by SCS5219Writer(OutputStream, int, AS400). Any SCS5219Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5219Writer(OutputStream, int)
          Replaced by SCS5219Writer(OutputStream, int, AS400). Any SCS5219Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5219Writer(OutputStream, String)
          Replaced by SCS5219Writer(OutputStream, int, AS400). Any SCS5219Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5224Writer(OutputStream)
          Replaced by SCS5224Writer(OutputStream, int, AS400). Any SCS5224Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5224Writer(OutputStream, int)
          Replaced by SCS5224Writer(OutputStream, int, AS400). Any SCS5224Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5224Writer(OutputStream, String)
          Replaced by SCS5224Writer(OutputStream, int, AS400). Any SCS5224Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5256Writer(OutputStream)
          Replaced by SCS5256Writer(OutputStream, int, AS400). Any SCS5256Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5256Writer(OutputStream, int)
          Replaced by SCS5256Writer(OutputStream, int, AS400). Any SCS5256Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5256Writer(OutputStream, String)
          Replaced by SCS5256Writer(OutputStream, int, AS400). Any SCS5256Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5553Writer(OutputStream)
          Replaced by SCS5553Writer(OutputStream, int, AS400). Any SCS5553Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5553Writer(OutputStream, int)
          Replaced by SCS5553Writer(OutputStream, int, AS400). Any SCS5553Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments. 
com.ibm.as400.access.SCS5553Writer(OutputStream, String)
          Replaced by SCS5553Writer(OutputStream, int, AS400). Any SCS5553Writer object that is created without specifying an AS400 system object on its constructor may not behave as expected in certain environments.