Info for Info Course

Sorry, if this post is not useful to you.
It will only be active for a week or so.
I accidently took this Java course. I thought it would be a more web page building type course. I never foresee myself ever using Java. I don't know why I can't program for shit. It sucks. I'm supposed to be smart but why can't I program?
Teacher says we can use java.sun.com for the practical portion of an exam. So I'm posting some useful code ( to me).
When I'm done, just let this forum die to the bottom of the list.
But in the meantime, if you need info on elementary Java stuff like GUI's, JDBC, Multithreading, etc., here it is.
Cheers

import javax.swing.*;
import java.awt.*;
// Generates the first application frame of the program.
public class CareerAdvisor
public static void main(String[] args)
     // Create application frame for User and Administrator JButton selections.
StartFrame f = new StartFrame();
f.setSize(350,300);
f.setLocation(340,210);
f.setVisible(true);
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
/* Loads the question panel and contains the buttons for the navigation
through the 5 question panels. */
public class CareerAdvisorFrame extends JFrame
     Connection con;
     Statement stmt;
     ResultSet rs;     
     // Accesses the previous question.
     JButton jbPrevious = new JButton("Previous");
     // The user clicks the 'Done' button when she has completed all questions.
     JButton jbDone = new JButton("Done");
     // Accesses the next question.
     JButton jbNext = new JButton("Next");
     int currentQuestion;
     /* There are 5 questions for the user to answer. Each question has its own
     question panel. */
     QuestionPanel[] qP = new QuestionPanel[5];
     /* The CareerAdvisorFrame GUI needs to be put into a container, which is
     activated.*/
     Container c = this.getContentPane();
     // The center panel contains the question.
     JPanel pCenter = new JPanel();
     // The south panel contains the 3 navigation buttons.
     JPanel pSouth = new JPanel();
     JFrame thisFrame;          
     String messageA = "";
     // GUI created.
     public CareerAdvisorFrame()
               thisFrame = this;
               currentQuestion = 1;
               // For each question, a question panel is generated.
               for (int i = 0; i<5; i++)
                    qP= new QuestionPanel(i+1);
               /* Specifying Border Layout for the container and the center panel. This
               is because     the question panel is created in its own class using the Grid
               Layout for the GUI construction. The south panel is constructed in this
               class and Grid Layout is used because 1 row of 3 columns is needed for
               the 3 navigation buttons. */
               c.setLayout(new BorderLayout());
               pCenter.setLayout(new BorderLayout());
               pSouth.setLayout(new GridLayout(1,3));
               // The 3 navigation buttons are added to the south panel.
               pSouth.add(jbPrevious);
               pSouth.add(jbDone);
               pSouth.add(jbNext);
               // The question panel is added to the center panel.
               pCenter.add(qP[0], BorderLayout.CENTER);
               // The south panel and center panels are added to the container.
               c.add(pSouth, BorderLayout.SOUTH);
               c.add(pCenter, BorderLayout.CENTER);
               /* To listen for mouse clicks on the 3 navigation buttons, action
               listeners must be added. Then, action handler parameters are passed. */
               ActionHandler actH = new ActionHandler();
               jbDone.addActionListener(actH);
               jbPrevious.addActionListener(actH);
               jbNext.addActionListener(actH);
     /* The location of the mouseclick is determined. Each of the 3 buttons have
     a specific function to accomplish and so methods are called. */
     public class ActionHandler implements ActionListener
          // The button source of the click is stored in ActionEvent e.
          public void actionPerformed(ActionEvent e)
               /* If the user clicks 'Next' the next() method is accessed. Different
               methods are accessed for the 'Previous' and 'Done' buttons. */
               if (e.getSource() == jbNext)
                    next();
               else if (e.getSource() == jbPrevious)
                    previous();
               else if (e.getSource() == jbDone)
                    done();
     /* The current question advances and the next question panel is put into the
     frame with the next question. When question 5 is reached, the 'Next' button
     is disabled because there are no further questions for the user to access.
     The button is enabled for the first 4 questions. The 'Previous' button is
     enabled at start up, even for the first question. This is to give a uniform
     appearance for the user when she first sees the Career Advisor Frame. The
     'Previous' button is also enabled if the current question does not equal 5.*/
     private void next()
          if (currentQuestion < 5)
               currentQuestion++;
               if (currentQuestion == 5)
                    jbNext.setEnabled(false);
                    // The panel is being refreshed with the new information.
                    pCenter.validate();
               else
                    jbPrevious.setEnabled(true);
                    pCenter.validate();
               // The current question is removed to add the next question.     
               pCenter.removeAll();
               pCenter.add(qP[currentQuestion - 1], BorderLayout.CENTER);
               pCenter.validate();
               // The next question is physically repainted onto the panel.
               repaint();
     /* After the current question decreases by one, the previous question panel
     is put into the frame with the previous question. When question 1 is
     reached, the 'Previous' button is disabled, since there is no question
     before the first one. The 'Next' button is enabled, when the current
     question is not equal to 1. */
     private void previous()
          if (currentQuestion > 1)
               currentQuestion--;
               if (currentQuestion == 1)
                    jbPrevious.setEnabled(false);
                    pCenter.validate();
               else
                    jbNext.setEnabled(true);
                    pCenter.validate();
               // The current question is removed to add the previous question.     
               pCenter.removeAll();
               pCenter.add(qP[currentQuestion - 1], BorderLayout.CENTER);
               pCenter.validate();
               repaint();
     /* The user's name is being stored in the Career database after the user
     provides it and then the career result is displayed. */
     private void done()
          // The 'Done' button is disabled after the user clicks it once
          jbDone.setEnabled(false);     
          String userName = "";
          /* The user enters his name in the input dialog. If he presses cancel, the
          program will exit. If he enters his name, he will be allowed to view his
          career result.*/
          do
               userName = JOptionPane.showInputDialog(
                    null,"Please enter your name:", "Career Result Access", 1);
               if (userName == null)
                    System.exit(0);
          }while (userName.equals(""));
     updateDataBase(userName);
ColoredJOptionPane c = new ColoredJOptionPane(new Color(255,236,139));
          c.showMessageDialog(null,message, "Career Result", 1);
          // The Career Advisor Frame dies after the user hits 'ok' on the dialog.     
          this.setVisible(false);                    
     // The user's answers and user's name are updated in the Career database.
     private void updateDataBase(String userName)
          String sourceURL = "jdbc:odbc:career";
          String query1 = "SELECT * FROM UserRecord";
          try
               /* The Microsoft Access Driver is loaded. The program is
                    connecting to the database. The stament object executes SQL
                    statements. */
     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
     con = DriverManager.getConnection(sourceURL);
     stmt = con.createStatement(     ResultSet.TYPE_SCROLL_SENSITIVE,
                                                                                ResultSet.CONCUR_UPDATABLE);
     /* Querying the UserRecord table of the Career database and storing the
     statement in result set. */                                                                                     
                    rs = stmt.executeQuery(query1);
                    // The result set is moving to insert a row into the table.
                    rs.moveToInsertRow();
          /* Each column, 1-7, of the table is being updated with the user's name
          and each of his 5 answers to the questions. The 7th column is updated
          with the career title, messageA, that was outputted to the user in the
          dialog with the career result. The row is appended at the end of the
          table for these strings to be loaded into. */
          rs.updateString(1, userName);     
          rs.updateString(2, qP[0].getAnswer());
          rs.updateString(3, qP[1].getAnswer());
          rs.updateString(4, qP[2].getAnswer());
          rs.updateString(5, qP[3].getAnswer());
          rs.updateString(6, qP[4].getAnswer());          
          rs.updateString(7, messageA);     
          rs.insertRow();
          // The result set, statement, and database connection are closed.
     rs.close();
     stmt.close();
     con.close();                                                                                
          // Exceptions are declared.
          catch(SQLException sqle)
               System.err.println("Error creating connection");
     catch(ClassNotFoundException cnfe)
               System.err.println(cnfe.toString());
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
// A question panel is created. It connects to a database.
class QuestionPanel extends JPanel
     int questionNumber;
     String answer;
     int numberOfAnswers;
     // The background of the question panel is stored in SwimTiled.jpg.
     ImageIcon icon = new ImageIcon ("SwimTiled.jpg");
     JRadioButton[] rbAnswer = new JRadioButton[12];
     Connection con;
Statement stmt;
ResultSet rs;
/* The question panel reads each of 5 questions stored in the Career
database. There are 5 queries made for 5 tables, Q1 through Q5. Each question
has it's own table. */
public QuestionPanel(int qNum)
          questionNumber = qNum;
          /* Creating a button group allows only one radio button to be clicked per
          question. */
          ButtonGroup bg = new ButtonGroup();
          /* There are 14 rows created for the grid layout. One row is taken up by
          the question, one row for a blank space, and up to 12 rows for 12 radio
          button lines of text. The first question has the maximum number of radio
          buttons, named from 'a' to 'l'. The other questions require less than 12
          radio buttons.*/
          this.setLayout(new GridLayout(14,1));
          String sourceURL = "jdbc:odbc:career";
     String query1 = "SELECT * FROM Q1";
     String query2 = "SELECT * FROM Q2";
     String query3 = "SELECT * FROM Q3";
     String query4 = "SELECT * FROM Q4";
     String query5 = "SELECT * FROM Q5";
          try
          /* The Microsoft Access Driver is loaded. The program is
          connecting to the database. The stament object executes SQL
          statements. */
     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
     con = DriverManager.getConnection(sourceURL);
     stmt = con.createStatement(     ResultSet.TYPE_SCROLL_SENSITIVE,
                                                                           ResultSet.CONCUR_UPDATABLE);
     /* When the qNum, or question number, equals 1, then Q1 is loaded into
     the result set as per query 1. This occurs for queries 2-5 as well.*/                    
          switch (qNum)
                    case 1:
                    rs = stmt.executeQuery(query1);break;
                    case 2:
                         rs = stmt.executeQuery(query2);break;
                    case 3:
                         rs = stmt.executeQuery(query3);break;
                    case 4:
                         rs = stmt.executeQuery(query4);break;
                    case 5:
                         rs = stmt.executeQuery(query5);break;
     // Exception handling
     catch(SQLException sqle)
          System.err.println("Error creating connection");
     catch(ClassNotFoundException cnfe)
          System.err.println(cnfe.toString());
     try
          // The result set proceeds to the next row.
          rs.next();
          /* The first part of the question, the non-radio button part is read
          from the 1st column of the corresponding question table in the
          database and put into a JLabel on the question panel. */
          this.add(new JLabel(rs.getString(1)));
          // This dummy JLabel creates a blank row in the question panel.
          this.add(new JLabel(""));
          // Action Handler created to handle actions on the radio buttons.
          ActionHandler actH = new ActionHandler();
          int k = 0;
          while(rs.next())
               /* The result set cycles through one of the question tables, Q1-Q5,
               and reads the radio button parts of the question into the button
               group and then the question panel until rs.next reveals no new data.
               These radio button parts are all in column 1 of the database table.
               An action listener with an action handling parameter is added to the
               rbAnswer array. */
               rbAnswer[k] = new JRadioButton(rs.getString(1));
               bg.add(rbAnswer[k]);
               this.add( rbAnswer[k]);
               rbAnswer[k].addActionListener(actH);
               /* The radio button array is kept visible to see the writing,
               despite the background. */
               rbAnswer[k].setOpaque( false );
               k++;
          numberOfAnswers = k;
     catch(SQLException sqle)
               System.err.println("Error in read next");
               /* Allows only some of the question panel to be painted with the
               background file, not the radio buttons in this case. */
               this.setOpaque( false );     
     // Returns one of the answers listed in the switch statement below.
     public String getAnswer()
          return answer;
     /* Listening for which radio button is clicked and getting the source of the
     radio button or answer that is clicked. The choice of radio buttons for a
     given question is between 1 and the amount stored in 'numberOfAnswers'.
     The switch statement assigns a particular radio button to a particular
     answer. */
     public class ActionHandler implements ActionListener
          public void actionPerformed(ActionEvent e)
               for (int i=0; i < numberOfAnswers; i++)
                    if (e.getSource() == rbAnswer[i])
                              switch (i)
                                   case 0: answer = "a"; break;
                                   case 1: answer = "b"; break;
                                   case 2: answer = "c"; break;
                                   case 3: answer = "d"; break;
                                   case 4: answer = "e"; break;
                                   case 5: answer = "f"; break;
                                   case 6: answer = "g"; break;
                                   case 7: answer = "h"; break;
                                   case 8: answer = "i"; break;
                                   case 9: answer = "j"; break;
                                   case 10: answer = "k"; break;
                                   case 11: answer = "l"; break;
     // Background image is being painted onto question panel.
     protected void paintComponent(Graphics g)
          // Scale image to size of component.
          Dimension d = getSize();
          g.drawImage(icon.getImage(), 0, 0, d.width, d.height, null);
          super.paintComponent(g);
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
/* StartFrame and StartFramePanel used to be one class upon initial design.
Separating them out allows the Panel to be painted with a background icon.
The container is created and made with border layout. The StartFramePanel
is put into the StartFrame. */
public class StartFrame extends JFrame
Container c = this.getContentPane();
public StartFrame()
          c.setLayout(new BorderLayout());
          StartFramePanel p = new StartFramePanel();
          // The StartFramePanel is centered in the container with a border layout.
          c.add(p, BorderLayout.CENTER);
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
// This class tracks the number of users and their individual data.
class AdminList extends JFrame
     Connection con;
Statement stmt;
ResultSet rs;
Container c = this.getContentPane();
     /* The information displayed in a frame that is used by the Administrator. The
     information is read from the UserRecord Table in the Career database. */
     public AdminList()
          /* There are 45 rows in the container with a grid layout so that at least
          43 new records can be added to the administrator list. The 1st row contains
          the titles of each column and the 2nd row is a blank line.*/
          c.setLayout(new GridLayout(45,1));
          String sourceURL = "jdbc:odbc:career";
     String query = "SELECT * FROM UserRecord";               
     /* The Microsoft Access Driver is loaded. The program is
connecting to the database. The stament object executes SQL
statements. */
          try
     Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
     con = DriverManager.getConnection(sourceURL);
     stmt = con.createStatement(     ResultSet.TYPE_SCROLL_SENSITIVE,
                                                                           ResultSet.CONCUR_UPDATABLE);
               rs = stmt.executeQuery(query);
     // Exception statements
     catch(SQLException sqle)
          System.err.println("Error creating connection");
     catch(ClassNotFoundException cnfe)
          System.err.println(cnfe.toString());
          // Adding titles to the 7 columns of the admin list.
          c.add(new JLabel("Name"));
          c.add(new JLabel("Question 1"));
          c.add(new JLabel("Question 2"));
          c.add(new JLabel("Question 3"));
          c.add(new JLabel("Question 4"));
          c.add(new JLabel("Question 5"));
          c.add(new JLabel("Advice"));
          // Create a blank row of 7 empty string columns.
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          try
          int count = 0;
          /* Each row of the UserName table is being read by the result set. The
          1-7 represent the columns being read from the database. */
          while(rs.next())
          count ++;
          c.add(new JLabel(rs.getString(1)));
          c.add(new JLabel(rs.getString(2)));
          c.add(new JLabel(rs.getString(3)));
          c.add(new JLabel(rs.getString(4)));
          c.add(new JLabel(rs.getString(5)));
          c.add(new JLabel(rs.getString(6)));
          c.add(new JLabel(rs.getString(7)));
     /* When the last row of data is reached, rs.next stops. For the
     remaining rows, the for loop uses the counter to add blank lines to the
     Admin List with dummy JLabels. */
     for (int i = count+1; i <= 43; i++)
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          c.add(new JLabel(""));
          c.add(new JLabel(""));
     // Exception statements.
     catch(SQLException sqle)
               System.err.println("Error in read next");
import java.awt.*;
import javax.swing.*;
// Used to color dialog boxes in other classes.
class ColoredJOptionPane extends JOptionPane
public ColoredJOptionPane(){}
public ColoredJOptionPane(Color c)
     // Controls the color of the panel and option pane background in the dialog.
UIManager.put("OptionPane.background",c);
UIManager.put("Panel.background",c);
/* The following line would only be used if we wanted to change the color of
the buttons in the dialog. */
// UIManager.put("Button.background",c);
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
/* The start frame is the first frame that comes up for the user. Here, he can
select whether to use the Career Advisor program by clicking the 'User' button
or see the results of other users by clicking the 'Administrator' button.
This panel is put into the start frame. */
class StartFramePanel extends JPanel
     JButton jbUser = new JButton("User");
     JButton jbAdministrator = new JButton("Administrator");
     // This image is placed in the background of the 2 buttons.
     ImageIcon icon = new ImageIcon ("RoseTiled.jpg");     
     /* The frame for the StartFramePanel is created in the CareerAdvisorFrame
     class.*/
public StartFramePanel()
     /* Since there are only 2 JButtons, the rest of the spaces are made dummy
     labels. There are 5 rows of 3 columns in the grid layout. No container is
     used since a JPanel is used rather than a frame. */
     this.setLayout(new GridLayout(5,3));
          this.add(new JLabel());
          this.add(new JLabel());
          this.add(new JLabel());
          this.add(new JLabel());
          this.add(jbUser);
          this.add(new JLabel());
          this.add(new JLabel());
          this.add(new JLabel());
          this.add(new JLabel());
          this.add(new JLabel());
          this.add(jbAdministrator);
          this.add(new JLabel());
          this.add(new JLabel());
          this.add(new JLabel());
          this.add(new JLabel());
          /* Allows only some of the panel to be painted with the
          background file, not the JButtons in this case. */
          this.setOpaque( false );
          /* An ActionListener is being added to the 2 JButtons, with the action
          handler actH as a parameter being passed.     */
          ActionHandler actH = new ActionHandler();
          jbUser.addActionListener(actH);
          jbAdministrator.addActionListener(actH);
/* After getting the source of the JButton click event, it is determined
whether it is the jbUser or the jbAdministrator. In the former case,
the user() method is called and in the latter, the administrator()
method is called.*/
public class ActionHandler implements ActionListener
               public void actionPerformed(ActionEvent e)
                    if (e.getSource() == jbUser)
                    user();
                    else if (e.getSource() == jbAdministrator)
                    administrator();
          // This method enables the administrator to view the Admin List.
          private void administrator()
               // Initializing string
               String password = null;
               /* A default color of white is used in the dialog. This is denoted by
               the numbers 255,255,255. */
               ColoredJOptionPane c = new ColoredJOptionPane(new Color( 255,255,255));
          int count = 0;
          /* If after prompting the individual for the password 4 times, he
          doesn't get it right, then he is shown a message dialog and then
          exited out of the program. */
               do{
                         if (count>3)
                              JOptionPane.showMessageDialog(
                                   null, "You have been timed out.", "Incorrect Password", 1);
                              System.exit(0);
                         /* The administrator is prompted for the correct password
                         in an input dialog. The password is "dcba".*/
                         password =
                              JOptionPane.showInputDialog(null,"Password:", "Login Screen", 1);
                         // Allows the individual to click 'Cancel' in the dialog.                         
                    if (password == null)
                              return;
                         count++;
                    }while (!password.equals("dcba"));
               /* The AdminList Frame is created with specificed size and location,
               and then made visible. */
               AdminList f = new AdminList();
f.setSize(900,650);
f.setLocation(20,20);
     f.setVisible(true);
          /* This method allows the user to see the Welcome Message and take the
          Career Advisor questionaire. It has the same features of the
          administrator() method. */
          private void user()
               String password = null;
               ColoredJOptionPane c = new ColoredJOptionPane(new Color( 255,255,255));
               int count =0;
               do
                    if (count>3)
                         JOptionPane.showMessageDialog(
                              null, "You have been timed out.", "Incorrect Password", 1);
                         System.exit(0);
                    password =
                         JOptionPane.showInputDialog(null,"Password:", "Login Screen", 1);
                    if (password == null)
                         return;     
                    count ++;
               }while ( !password.equals("abcd") );
     String welcome = "Welcome ";
     // A sky blue color is the background of the dialog.
               ColoredJOptionPane d = new ColoredJOptionPane(new Color( 176,226,255));
               /* The string 'welcome' is put into a message dialog. The title on the
               dialog is 'Career Advising Service'. */
               JOptionPane.showMessageDialog
                    (null,welcome,"Career Advising Service", 1);
// The CareerAdvisor frame with the question panel is shown.
CareerAdvisorFrame frame = new CareerAdvisorFrame();
frame.setSize(850,400);
frame.setLocation(55,180);
frame.setVisible(true);
     // Background image is being painted onto the start panel.
     protected void paintComponent(Graphics g)
          // Scale image to size of component
          Dimension d = getSize();
          g.drawImage(icon.getImage(), 0, 0, d.width, d.height, null);
          super.paintComponent(g);

Similar Messages

  • Change info for multiple videos at once

    I am a mac newb, just got my mac book pro and am trying to learn and get things set up.  I have my media on a NAS (Qnap 451) and have added my existing videos to my library (without copying them locally to my library), and of course they show up as home videos.  I know how you are supposed to change the
    info for multiple files, I select them all and choose get info and change the options tab to Movie.  When I do that nothing happens at all, I can do the files one at a time and they change fine, but if I even select just two files it doesn't work.  Any ideas?

    Well an update in case any one else had this issue.  I don't know why but it only works if I choose Movie, then before choosing OK I switch to a different tab like the artwork tab and then back to the options tab.  No idea why that would have any effect on it.

  • REPORT FOR INFO TYPE 586

    Hi All
    I am trying to create a report for INFO TYPE 586  in HR ABAP,where  in a table apporx 30 investment codes , proposed investment and actual amount are apperaring .
    Now My problem is,  I do not want to use IF .... ENDIF statment. Is there any other way to write the code .
    Please Help.
    Thanks in advance.

    Hi,
    In this situation you can use field-symbols and/or a internal table. Like this:
    tables: pa0586.
    field-symbols: <ff1> type any,
                   <ff2> type any,
                   <ff3> type any.
    data: w_campo1(30),
          w_campo2(30),
          w_campo3(30),
    data: w_nx(2) type n.
    data: begin of i_myitc occurs,
            itc like pa0586-itc01,
            dsc(30),
          end of i_myitc.
    * fixed selection or may be from a z table
    i_myitc-itc = '01'. i_myitc-dsc = 'AAAAA'. append i_myitc.
    i_myitc-itc = '02'. i_myitc-dsc = 'BBBBB'. append i_myitc.
    i_myitc-itc = '03'. i_myitc-dsc = 'CCCCC'. append i_myitc.
    select single * from pa0586.
    do 30 times.
       w_nx = sy-index.
       concatenate 'PA0586-ITC' w_nx into w_campo1.
       concatenate 'PA0586-PIN' w_nx into w_campo2.
       concatenate 'PA0586-AIN' w_nx into w_campo3.
       assign (w_campo1) to <ff1>.
       assign (w_campo2) to <ff2>.
       assign (w_campo3) to <ff3>.
       read table i_myitc with key itc = <ff1>.
       write: / <ff1>, <ff2>, <ff3>, i_myitc-dsc.
    enddo.
    Best regards,
    Leandro Mengue

  • Unable to retrieve nametab info for logic table BSEG during Database Export

    Hi,
    Our aim is to Migrate to New hardware and do the Database Export of the existing System(Unicode) and Import the same in the new Hardware
    I am doing Database Export on SAP 4.7 SR1,HP-UX ,Oracle 9i(Unicode System) and during Database Export "Post Load Processing phase" got the error as mentioned in SAPCLUST.log
    more SAPCLUST.log
    /sapmnt/BIA/exe/R3load: START OF LOG: 20090216174944
    /sapmnt/BIA/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#20
    $ SAP
    /sapmnt/BIA/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 13 2007 16:20:31
    /sapmnt/BIA/exe/R3load -ctf E /nas/biaexp2/DATA/SAPCLUST.STR /nas/biaexp2/DB/DDLORA.T
    PL /SAPinst_DIR/SAPCLUST.TSK ORA -l /SAPinst_DIR/SAPCLUST.log
    /sapmnt/BIA/exe/R3load: job completed
    /sapmnt/BIA/exe/R3load: END OF LOG: 20090216174944
    /sapmnt/BIA/exe/R3load: START OF LOG: 20090216182102
    /sapmnt/BIA/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#20
    $ SAP
    /sapmnt/BIA/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 13 2007 16:20:31
    /sapmnt/BIA/exe/R3load -datacodepage 1100 -e /SAPinst_DIR/SAPCLUST.cmd -l /SAPinst_DI
    R/SAPCLUST.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "BIA20071101021156                                                                               
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "tinsp041                                                    
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "tinsp041"
    (GSI) INFO: release  = "B.11.11"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "9000/800"
    (GSI) INFO: instno   = "0020293063"
    (EXP) TABLE: "AABLG"
    (EXP) TABLE: "CDCLS"
    (EXP) TABLE: "CLU4"
    (EXP) TABLE: "CLUTAB"
    (EXP) TABLE: "CVEP1"
    (EXP) TABLE: "CVEP2"
    (EXP) TABLE: "CVER1"
    (EXP) TABLE: "CVER2"
    (EXP) TABLE: "CVER3"
    (EXP) TABLE: "CVER4"
    (EXP) TABLE: "CVER5"
    (EXP) TABLE: "DOKCL"
    (EXP) TABLE: "DSYO1"
    (EXP) TABLE: "DSYO2"
    (EXP) TABLE: "DSYO3"
    (EXP) TABLE: "EDI30C"
    (EXP) TABLE: "EDI40"
    (EXP) TABLE: "EDIDOC"
    (EXP) TABLE: "EPIDXB"
    (EXP) TABLE: "EPIDXC"
    (EXP) TABLE: "GLS2CLUS"
    (EXP) TABLE: "IMPREDOC"
    (EXP) TABLE: "KOCLU"
    (EXP) TABLE: "PCDCLS"
    (EXP) TABLE: "REGUC"
    myCluster (55.16.Exp): 1557: inconsistent field count detected.
    myCluster (55.16.Exp): 1558: nametab says field count (TDESCR) is 305.
    myCluster (55.16.Exp): 1561: alternate nametab says field count (TDESCR) is 304.
    myCluster (55.16.Exp): 1250: unable to retrieve nametab info for logic table BSEG   
    myCluster (55.16.Exp): 8033: unable to retrieve nametab info for logic table BSEG   
    myCluster (55.16.Exp): 2624: failed to convert cluster data of cluster item.
    myCluster: RFBLG      *003**IN07**0001100000**2007*
    myCluster (55.16.Exp): 318: error during conversion of cluster item.
    myCluster (55.16.Exp): 319: affected physical table is RFBLG.
    (CNV) ERROR: data conversion failed.  rc = 2
    (RSCP) WARN: env I18N_NAMETAB_TIMESTAMPS = IGNORE
    (DB) INFO: disconnected from DB
    /sapmnt/BIA/exe/R3load: job finished with 1 error(s)
    /sapmnt/BIA/exe/R3load: END OF LOG: 20090216182145
    /sapmnt/BIA/exe/R3load: START OF LOG: 20090217115935
    /sapmnt/BIA/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#20
    $ SAP
    /sapmnt/BIA/exe/R3load: version R6.40/V1.4 [UNICODE]
    Compiled Aug 13 2007 16:20:31
    /sapmnt/BIA/exe/R3load -datacodepage 1100 -e /SAPinst_DIR/SAPCLUST.cmd -l /SAPinst_DI
    R/SAPCLUST.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (GSI) INFO: dbname   = "BIA20071101021156                                                                               
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "tinsp041                                                    
    (GSI) INFO: sysname  = "HP-UX"
    (GSI) INFO: nodename = "tinsp041"
    (GSI) INFO: release  = "B.11.11"
    (GSI) INFO: version  = "U"
    (GSI) INFO: machine  = "9000/800"
    (GSI) INFO: instno   = "0020293063"
    myCluster (55.16.Exp): 1557: inconsistent field count detected.
    myCluster (55.16.Exp): 1558: nametab says field count (TDESCR) is 305.
    myCluster (55.16.Exp): 1561: alternate nametab says field count (TDESCR) is 304.
    myCluster (55.16.Exp): 1250: unable to retrieve nametab info for logic table BSEG   
    myCluster (55.16.Exp): 8033: unable to retrieve nametab info for logic table BSEG   
    myCluster (55.16.Exp): 2624: failed to convert cluster data of cluster item.
    myCluster: RFBLG      *003**IN07**0001100000**2007*
    myCluster (55.16.Exp): 318: error during conversion of cluster item.
    myCluster (55.16.Exp): 319: affected physical table is RFBLG.
    (CNV) ERROR: data conversion failed.  rc = 2
    (RSCP) WARN: env I18N_NAMETAB_TIMESTAMPS = IGNORE
    (DB) INFO: disconnected from DB
    SAPCLUST.l/sapmnt/BIA/exe/R3load: job finished with 1 error(s)
    /sapmnt/BIA/exe/R3load: END OF LOG: 20090217115937
    og (97%)
    The main eror is "unable to retrieve nametab info for logic table BSEG "  
    Your reply to this issue is highly appreciated
    Thanks
    Sunil

    Hello,
    acording to this output:
    /sapmnt/BIA/exe/R3load -datacodepage 1100 -e /SAPinst_DIR/SAPCLUST.cmd -l /SAPinst_DI
    R/SAPCLUST.log -stop_on_error
    you are doing the export with a non-unicode SAP codepage. The codepage has to be 4102/4103 (see note #552464 for details). There is a screen in the sapinst dialogues that allows the change of the codepage. 1100 is the default in some sapinst versions.
    Best Regards,
    Michael

  • HT1339 I was looking for info on restoring an iPod Touch 4th Gen. But iTunes presents the same Restore button, which when pressed, offers to update, not restore, to iOS 6.0.1. Why?

    I found this article when searching for info on restoring (to factory conditions) an iPod Touch 4th Generation. Now I thought this shipped with iOS 5.x (x unknown). But as mentioned too briefly in the header, when I click 'Restore' in iTunes, it offers not to restore, but to update. That is not what I want. I need to use this iPod Touch with Xcode 4.2 under Snow Leopard.
    So the question is: what is really going on here and why? Is it really true that 4th G iPod Touches ship with 6.0.1 instead of 5.x? If not, how can I get it to really go back to the original? Why is iTunes failing to offer a restore when I press 'Restore'? If I guessed wrong about which of my several machines running iTunes (some under Windows7, one under Snow Leopard)I used when I upgraded to iOS 6.0.1, would that explain iTune's failure to offer a true Restore?

    Restore will not replace an old iOS level. It will update the iOS level to the latest level. If you have to restore youre iPod that is what will happen. The iOS is not a part of a backup.

  • I have created an extensive slideshow w/music on my MacBook Pro iPhoto. How do I export a slideshow so that I can burn a DVD from it? "Help" does not offer info for this request, only if you want to export to another Apple device.   Help!!!

    I have created a lengthy slideshow with music on my MacBook Pro under Iphoto.   What steps do I need to take in order to burn a DVD copy of this slideshow?     "Help" does not offer info for this transaction, only if you want to export to another Apple device and it shows that you must first export to Itunes.  Can anyone help me with information on just copying to a DVD?  I don't want to email it or show it on another Apple device.  I want to be able to burn multiple copies on DVDs as a gift......    Can it be done?   I'm not real computer savvy

    Connect the device to the computer.
    In iTunes, select the content desired to sync.
    Sync.
    This is all described in the User's Guide, reading it may be a good place to start.

  • How do I find the FTP info for my site?

    I created a site with Wix.com. Since then I've been exploring Dreamweaver, and the author of "Dreamweaver for Dummies" suggets that the best way to make changes to my existing site is to use Dreamweaver's FTP capabailities to download the existing pages. But Wix doesn't support FTP -- so they tell me, and simpleurl.com (where I regeistered my domain name) and which is somehow involved in the posting of my site) can't help either. Here's the Dreamweaver page that I need to fill in.
    How do I get this information?

    Yup, it's basically free, altho you can upgrade a little, as I've done. 
    And I took
    a careful look at the "source" for the pages I've created. That code will 
    show
    nothing of what I've written -- text-wise. It's all stored on the Wix 
    servers
    and accessed with various scripts. You can re-locate your Wix-created site
    after 60 days -- not before. So the suggestion I got from the "...Dummies"
    book doesn't apply here.
    Nonetheless, I'm going to continue to learn how to use Dreamweaver. Maybe
    after my 60 days are up I'll wanna move it. Don't know.
    MurraySummers http://forums.adobe.com/people/MurraySummers created the 
    discussion
    "Re: How do I find the FTP info for my site?"
    To view the discussion, visit: 
    http://forums.adobe.com/message/5993566#5993566

  • ITunes is asking for payment info for a child's AppleID

    All iPads have been updated to OS8. Desktop is waiting for Yosemite. My child (age10) has had an Apple ID for many years with a false birthday. I am trying to get Family Share to work correctly and turn on Ask to Buy.  My child is the only member of my Family Share
    After browsing support posts, I retroactively changed the date to the youngest possible (age 13) as many other parents have done.  Before the Family Share existed, I used to split the AppleID on my child's iPad so that I could share content. Many years ago, when I set up my child's personal AppleID, I set up her iPad with iCloud using her AppleID, and iTunes using mine so that purchases had to be approved and my AppleID could maintain all the kid-friendly content I'd been purchasing for years.  When I first set up family sharing, I forgot that iTunes will was using my Apple ID, so when I tried to turn on "Ask to Buy" I got a message saying 
    "Cannot Enable Ask to Buy"
    Adin is sharing purchases from an
    account also used by another family
    member. Ask to Buy can be enabled
    only on accounts that are not shared.
    So I logged out of iTunes on my child's iPad and used her AppleID instead. But then iTunes wanted credit card info for purchases, so obviously iTunes does not recognize that she is a child in my Family Share plan. I can't troubleshoot the problem on my Mac because Yosemite isn't available yet. I opted to leave my child's AppleID logged into iTunes, on her iPad, without payment info. I still get the same message when I try to turn on Ask to Buy for my child from my iPad.
    HELP!

    Run System Profiler.  Go to the Apple in the upper left corner of any window, then "About This Mac", then "More Info..."
    Check under both Applications and Frameworks for Quicktime.  Applications are the actual Player application itself.  I believe Frameworks is the underlying system software support.  If you see something different there it might be that about which iTunes is complaining.  On my computer both say the same, but I'm not having the issue.
    I'm guessing here but if you re-installed the system using Archive and Install,  your applications were left intact and that's why your Player is 7.7, but all your system software (includingQT framework) was replaced with earlier versions which may be why the you're seeing different versions.  iTunes doesn't need the Player, but it does need the underlying QT software.

  • How do I update credit card info for my iCloud Apple ID only (I have a different iTune Apple ID)?

    How do I update credit card info for my iCloud Apple ID only (I have a different iTune Apple ID)?

    I hope by now you found it already, but if not ...
    iTunes Store: Changing account information - Apple - Support
    it is the same as itunes account.

  • Can you please help me out the Info Cubes info for Budget Execution?????

    Hi,
       Can you please help me out the Info Cubes info for Budget Execution and Cash Management.
    Thanks in advance,
    Andy

    Take the memory card out of the camer and put it in a card reader.  When it mounts on the desktop select it and try to change the name.  However, that might make it incompatible with the camera.  You'll just have to try and see.
    OT

  • So i got the update on my ipod touch 5th gen and when i got it it asked me for my old itunes acount and password, except i no longer have that info for the back up and it wont let me by pass at all, i need a way to just restart it

    so i got the update on my ipod touch 5th gen and i got asked me for my old itunes acount and password so i can get the back up from icloud, except i no longer have that info for the back up and it wont let me by pass at all, i need a way to just restart it

    You need to recovery and use it. Sounds like you are running into:
    iCloud: Find My iPhone Activation Lock in iOS 7
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

  • I can't get any contact info for installation problem- I just bought a Mac Air and my CS5 is asking for a reinstall. Mac Air has no DVD slots. HELP I al VERY FRUSTRATED THAT ADOBE HAS NO WAY TO GET HELP

    I can't get any contact info for installation problem- I just bought a Mac Air and my CS5 is asking for a reinstall. Mac Air has no DVD slots. HELP I al VERY FRUSTRATED THAT ADOBE HAS NO WAY TO GET HELP

    You are right, Adobe does not support CS5 because it is no longer sold.
    Simply download the trial version of CS5 from this Adobe web site and input your serial number.
    Adobe - Photoshop : For Macintosh

  • I can no longer edit the info for my songs, movies and tv shows.  This occurred since I loaded Windows 7 Pro on my C drive, and then fownloaded ITunes 10.  Why will the program not allow me to access the track info to edit it?

    I can no longer edit the info for my songs, movies and tv shows.  This occurred since I loaded Windows 7 Pro on my C drive, and then fownloaded ITunes 10.  Why will the program not allow me to access the track info to edit it?

    Ah yes school boy error there out of frustration and discontent..
    My issue is with music/apps/films etc not downloading from iTunes / App Store.
    They initially fail and message is displayed stating unable to download / purchase at this time, yet if I retry it says I've already purchased (?) or alternatively I go to the purchased section and there they are waiting with the cloud symbol..
    However some items get frozen in the download window and cannot be retried or deleted. Message appears stating to tap to retry, but even if you stole every bath and sink in the uk you'd still not have enough taps.
    I post here as the iTunes guys are useless in there 'help' and have only advised posting here or phoning apple, at my expense, to explain a problem that could be rectified by forwarding my original email to a techie. However the tech team apparently don't have an email address as they're from ye olde Middle Ages..!
    Anyways I digress.
    So I tried sync to pc, but instead of showing the file as ready to listen/use/view, the iCloud symbol shows and I'm back to square one as the item is unable to download..
    At frustration station waiting for a train from pain...
    All my software is up to date, and had all worked fine prior to the last big iOS update that resulted in all the changes in display and dismay.
    Answers in a postcard :-)
    Much love

  • Issue in Hierarchy data upload from R/3 for info object Product Hierarchy.

    Hi,
    I am trying to upload the hierarchy data from R/3 system for Info Object Product Hierarchy.
    Insted of business content info objects (0PRODH, 0PRODH1, 0PRODH2, 0PRODH3, 0PRODH4, 0PRODH5, 0PRODH6), we are using customized objects (ZPRODH, ZPRODH1, ZPRODH2, ZPRODH3, ZPRODH4, ZPRODH5, ZPRODH6).
    In transfer rules the mapped is as specified below
    Fields        =>  Info Objects.
    0ZPRODH1 => ZPRODH1
    0ZPRODH2 => ZPRODH2
    0ZPRODH3 => ZPRODH3
    0ZPRODH4 => ZPRODH4
    0ZPRODH5 => ZPRODH5
    0ZPRODH6 => ZPRODH6
    Now, when I schedule the Info Package, it is ending with an errors
    "Node characteristic 0PRODH1 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH2 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH3 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH4 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH5 is not entered as hierarchy charactersitic for ZPRODH"
    "Node characteristic 0PRODH6 is not entered as hierarchy charactersitic for ZPRODH".
    when i tried to load by flat file, there is no issues. But, flat file loading is not allowed for us.
    Please let me know any possible solution to handle this issue.
    Thanks.
    Regards,
    Patil.

    Hi voodi,
    Insted of using the info object 0PRODH1, we should use customized info object ZPRODH1 which I added already in the external characteristic in Hierarchy.
    Regards,
    Patil.

  • Web Dynpro Java : Failed to get deployable object part info for component

    Currently we have a web dynpro java project which connects to the ABAP backend with Web Services. Everything seems fine, and when we transport to the production server via NWDI, we have the following error. Everytime we try to access the application , the error is occurred.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to get deployable object part info for component com.sie.attachmentcomp.AttachmentComp
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getComponentDeploymentDescription(ClientComponent.java:784)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:934)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
        at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
        at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
    It is working properly in our development , and testing environment. Only production has this error. And one weird thing is that this particular error occurred only sometimes to some user. For example; I could not access to the application with this error yesterday but my friend can access. Today, I can access in the morning but my friend cannot. For another friend , Yesterday he can access by using IE but not by Firefox. But today Firefox is fine but not with IE. It seems crazy.
    For more information, in our J2EE engine for the production server, we have 3 server nodes (clusters). And we are not sure it is the source of the problem. Is there any solution , and any way to know from the application that we are on which server?
    We also go and check from the Content Administrator in Web Dynpro Console. Under our project name, in the list of Components, sometimes we can see AttachmentComp but sometimes not.
    Please help us as our project is about to go-live next week.
    Thanks,
    Yu

    Hi Meenge,
    Please check below document for finding root cause for "Failed to start deployable object part info for <development component> and application <application name>"
    http://help.sap.com/saphelp_nwce711core/helpdata/en/44/7716e1633a12d1e10000000a422035/frameset.htm
    OR http://help.sap.com/saphelp_nw04/helpdata/EN/f4/1a1041a0f6f16fe10000000a1550b0/frameset.htm
    Hope it helps
    Regards
    Arun

Maybe you are looking for

  • Safari will not open bookmark pages  (nor will it post question!)9th time

    Ok. I interrupted someone elses thread - partly I think because of the problem I am having it self in that it was - grab the page while you can! Any page.. and type like mad quick before it changes it's mind. The problem - I recently got wire free ne

  • Assigning a new value to Float objects

    Hi, With BigDecimals, you can assign a value without explicitly creating a new object like this: BigDecimal b = new BigDecimal(5.23f); b = BigDecimal.valueOf(625, 2); As far as I can see, the only ways of doing this with Float is: Float f = new Float

  • IPhoto 11 -- Destructive crops

    --- Destructive Cropping --- Using iPhoto 11 9.2.3 / Mac OS 10.6.8 Since the release of iPhoto 8 Apple has heavily marketed iPhoto's capacity for non-destructive editing. I find this is true at least with respect to setting white and black points, ex

  • Adding routes not on the Global Zone

    Is it possible to add a route to a non global zone? if not, is there a way to manipulate the route coming from non global zone?

  • WM - Stock removal strategy: small/large quantities

    I have two different storage types: one to remove small quantities of a product (with negative stocks available) and one for the large ones. In the material master record I have established for a product that quantities lower than 50 units are remove