Terminal rm command help needed

While looking for another problem on my Mac I had the Console open.  I noticed quite a few messages involving something called Pogoplug*:
8/28/12 5:07:49.794 PM com.apple.launchd.peruser.502[223]: (com.pogoplug.PogoplugMonitor[721]) Exited with code: 1
8/28/12 5:07:49.794 PM com.apple.launchd.peruser.502[223]: (com.pogoplug.PogoplugMonitor) Throttling respawn: Will start in 10 seconds
8/28/12 5:07:59.814 PM com.apple.launchd.peruser.502[223]: (com.pogoplug.PogoplugMonitor[723]) Exited with code: 1
8/28/12 5:07:59.814 PM com.apple.launchd.peruser.502[223]: (com.pogoplug.PogoplugMonitor) Throttling respawn: Will start in 10 seconds
8/28/12 5:08:09.832 PM com.apple.launchd.peruser.502[223]: (com.pogoplug.PogoplugMonitor[725]) Exited with code: 1
8/28/12 5:08:09.832 PM com.apple.launchd.peruser.502[223]: (com.pogoplug.PogoplugMonitor) Throttling respawn: Will start in 10 seconds
8/28/12 5:08:19.851 PM com.apple.launchd.peruser.502[223]: (com.pogoplug.PogoplugMonitor[728]) Exited with code: 1
8/28/12 5:08:19.851 PM com.apple.launchd.peruser.502[223]: (com.pogoplug.PogoplugMonitor) Throttling respawn: Will start in 10 seconds
8/28/12 5:08:29.869 PM com.apple.launchd.peruser.502[223]: (com.pogoplug.PogoplugMonitor[729]) Exited with code: 1
8/28/12 5:08:29.869 PM com.apple.launchd.peruser.502[223]: (com.pogoplug.PogoplugMonitor) Throttling respawn: Will start in 10 seconds
In Terminal I did a
sudo find / | grep pogoplug
and that returned lots of files with *pogoplug* as part of the filename.
Now what I need to learn is how to do a mass deletion of anything pogoplug related as I do not use this anymore and it seems to be clogging my system.
I tried a basic rm -R *pogoplug* but that didn't work.  (unsurprising)
Please note that these files found by the find command turned up files on a couple of external drives as well, so what I'd like to do is totally delete anything with "pogoplug" in the file or directory name.
* I used the app Pogoplug a few months ago to evaluate a NAS setup.  Pogoplug came with it.  I had thought that I had deleted everything when I dragged the app to AppCleaner but apparently not.
Any help would be appreciated.
-Tod

I would absolutely not recommend trying to use the rm command to deal with this problem. It's too dangerous to mess around with unless you know exactly what you're doing.
Things like AppCleaner aren't very reliable for uninstalling complex software. You need to use the uninstaller provided by the makers of the software. They supply an uninstall script here:
http://support.pogoplug.com/entries/21414333-how-do-i-uninstall-and-reinstall-po goplug-companion-software-on-a-mac

Similar Messages

  • Applescript SAY command help needed

    AS newbie ...
    Currently I don't have a way to stop this speaking in the middle - CMD
    period does not help.
    Is there a way that applescript can maybe loop and break this into
    smaller chunks and check every 5 or 10 words if a key like CMD-period
    is pressed and if so stop the speaking loop?
    EX.
    set thisstuff to "a very large paragraph of text - bigger then this
    example. a very large paragraph of text - bigger then this example. a
    very large paragraph of text - bigger then this example. a very large
    paragraph of text - bigger then this example. a very large paragraph
    of text - bigger then this example."
    say thisstuff

    Hi,
    This script allows you to press (Command + period) keys
    set thisstuff to "a very large paragraph of text - bigger then this
    example. a very large paragraph of text - bigger then this example. a
    very large paragraph of text - bigger then this example. a very large
    paragraph of text - bigger then this example. a very large paragraph
    of text - bigger then this example."
    set pID to do shell script "say " & (quoted form of thisstuff) & " >/dev/null 2>&1 & echo $!"
    try
        repeat while ((do shell script "/bin/ps -p " & pID & " | wc -l") as integer) = 2
            delay 1
        end repeat
    on error -- user press CMD-period
        do shell script "/bin/kill " & pID & " >/dev/null 2>&1 &" -- stop the speech
    end try

  • Commands help needed

    hi ....
    can someone please tell me the commands to see the packages interfaces and some more standard commands

    Hey otakupunk:
    Search the forum for "key code"...also search the Adobe
    knowledge base, I believe that actually have a .dir file you can
    download with samples of what key code belongs to what key.

  • Terminal Command Help

    I am fairly new to the terminal world and I have just started learning unix commands. I need to delete a specific types of files which have a specific extension. These files are stored in the HD connected to my Airport extreme base station. What command I need to type in so that my working folder is the network attached HD?
    Any help would be appreciated.

    For future reference, Terminal, Unix, and command line command questions are best asked in the Mac OS X Technologies > Unix Forum
    <http://discussions.apple.com/forum.jspa?forumID=735>

  • Where is the terminal "last" command getting it's information from?

    I searching for the information that the terminal "last" command holds.
    When I execute the "last' command...... I am seeing too little to be real..... something is up..... I need to determine when the information was deleted.
    What log file is the last command using? In Mt. Lion, in Lion, in Snow Leopard?
    Thanx for your help

    For those who are reading this, this is about a Mt. Lion system with current patches 10.8.3
    Thank you for the reply and the pointer to the audit directory.
    I am continuing to ponder why last at the terminal is given unexpected behavior. I am now noticing the history in last is only for the "last" - no pun intended - 24 hours or there abouts on one of my systems. In the audit directory there are many more entries
    Wed Mar 20 09:47:14 terry@mymac:~ >>last
    terry   ttys001                   Wed Mar 20 09:47   still logged in
    terry   ttys000                   Wed Mar 20 09:47   still logged in
    terry   console                   Wed Mar 20 09:41   still logged in
    reboot    ~                         Wed Mar 20 09:39
    shutdown  ~                         Wed Mar 20 09:39
    terry   ttys001                   Wed Mar 20 09:03 - 09:13  (00:09)
    terry   ttys000                   Wed Mar 20 09:03 - 09:13  (00:09)
    terry   console                   Wed Mar 20 09:03 - 09:39  (00:35)
    reboot    ~                         Wed Mar 20 09:00
    wtmp begins Wed Mar 20 00:56
    >>sudo ls -lsa /var/audit/
    256 -r--r-----
    1 root  wheel   130862 Nov 24 14:52 20121124213110.20121124225215
      56 -r--r-----
    1 root  wheel
    26733 Nov 24 15:23 20121124225256.20121124232301
      40 -r--r-----
    1 root  wheel
    19634 Nov 24 15:43 20121124232348.20121124234351
    and then DOZENS and DOZENS more.... and finally those for yesterday are missing and then today.
    2016 -r--r-----
    1 root  wheel  1031355 Mar 18 23:31 20130318150701.20130319063139
    840 -r--r-----
    1 root  wheel   426232 Mar 20 00:56 20130319154442.20130320075621
      56 -r--r-----
    1 root  wheel
    26259 Mar 20 09:39 20130320160056.20130320163908
      40 -r--r-----
    1 root  wheel
    19050 Mar 20 09:55 20130320163956.not_terminated
    Also when I look thru the list of audit file  the 15th and the 10th of Mar are missing..... hummmmm...
    Any idea what could cause this?
    I am suspicion of some sort of hacking but just see any direct evidence of it ....
    I have gone an gotten the source code for last at the BSD project but Im' not a c programmer and apple's version is a branch or so it seems to me cause they've got to be different and I'm not sure where to configure last or how to better understand what I'm seeing.
    Anyone care to help me understand what could be going on?

  • Terminal SSH commands

    Hi,
    I am experimenting with SSH using Terminal on Leopard. I have logged in to my remote server and have made changes to /etc/localdomains however I have no clue on how to save the changes. I tried 'command + S' but that saves it to local machine as a text file. Can you advice what command I need to use? Your help is much appreciated. thanks.

    I don't see how anybody could find textedit faster than vi if you're familiar with vi. Your hands never have to leave the keyboard. If you're going to be doing much development on the Unix side it's well worth learning vi.

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • Help needed Displaying ALV  Secondary list without using oops concept

    Hi Experts
    Help needed Displaying ALV  Secondary list without using oops concept.
    its urgent
    regds
    rajasekhar

    hi chk this code
    ******************TABLES DECLARATION*****************
    TABLES : VBAP,MARA.
    *****************TYPE POOLS**************************
    TYPE-POOLS : SLIS.
    ****************INTERNAL TABLES**********************
    DATA : BEGIN OF IT_VBAP OCCURS 0,
    VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
    POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
    MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
    END OF IT_VBAP.
    ****************TEMPORARY VARIABLES******************
    DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
    DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
    *****************FIELD CATALOG***********************
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    ****************LAYOUT*******************************
    DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
    ***************VARIANT*******************************
    DATA : G_VARIANT LIKE DISVARIANT.
    ****************SAVE*********************************
    DATA : G_SAVE(1) TYPE C.
    *****************EVENTS******************************
    DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
           G_EVENTS TYPE SLIS_T_EVENT.
    ******************PF STATUS**************************
    DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
    ******************USER COMMAND************************
    DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
           R_UCOMM LIKE SY-UCOMM.
    ****************SELECTION SCREEN************************
    SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
    ***************AT SELECTION SCREEN*********************
    AT SELECTION-SCREEN.
      PERFORM VALIDATE.
    **************START-OF-SELECTION**************************
    START-OF-SELECTION.
      PERFORM GET_DETAILS.
      PERFORM FIELDCAT.
      PERFORM LAYOUT.
      PERFORM VARIANT.
      PERFORM SAVE.
      PERFORM EVENTS.
      PERFORM ALV_DISPLAY.
    *********************FORMS*******************************************
    *&      Form  validate
          text
    -->  p1        text
    <--  p2        text
    FORM VALIDATE .
      SELECT SINGLE VBELN
                    FROM VBAP
                    INTO V_VBELN
                    WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'enter valid vbeln'.
      ENDIF.
    ENDFORM.                    " validate
    *&      Form  get_details
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DETAILS .
      SELECT VBELN
             POSNR
             MATNR
             FROM VBAP
             INTO TABLE IT_VBAP
             WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'no details found'.
      ENDIF.
    ENDFORM.                    " get_details
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'VBELN'.
      WA_FIELDCAT-OUTPUTLEN = 10.
      WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'POSNR'.
      WA_FIELDCAT-OUTPUTLEN = 6.
      WA_FIELDCAT-SELTEXT_L = 'ITEM'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-OUTPUTLEN = 18.
      WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    " fieldcat
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
      WA_LAYOUT-ZEBRA = 'X'.
    ENDFORM.                    " LAYOUT
    *&      Form  VARIANT
          text
    -->  p1        text
    <--  p2        text
    FORM VARIANT .
      CLEAR G_VARIANT.
      G_VARIANT-REPORT = SY-REPID.
    ENDFORM.                    " VARIANT
    *&      Form  SAVE
          text
    -->  p1        text
    <--  p2        text
    FORM SAVE .
      CLEAR G_SAVE.
      G_SAVE = 'A'.
    ENDFORM.                    " SAVE
    *&      Form  EVENTS
          text
    -->  p1        text
    <--  p2        text
    FORM EVENTS .
      CLEAR XS_EVENTS.
      XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND XS_EVENTS TO G_EVENTS.
    ENDFORM.                    " EVENTS
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      WRITE :/ ' INTELLI GROUP'.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  ALV_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM ALV_DISPLAY .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = SY-REPID
         I_CALLBACK_PF_STATUS_SET       = PF_STATUS
         I_CALLBACK_USER_COMMAND        = USER_COMMAND
      I_STRUCTURE_NAME               =
         IS_LAYOUT                      = WA_LAYOUT
         IT_FIELDCAT                    = IT_FIELDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
         I_SAVE                         = G_SAVE
         IS_VARIANT                     = G_VARIANT
         IT_EVENTS                      = G_EVENTS
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = IT_VBAP
       EXCEPTIONS
         PROGRAM_ERROR                  = 1
         OTHERS                         = 2
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " ALV_DISPLAY
    *&      Form  SET_PF_STATUS
          text
    FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'Z50651_PFSTATUS' EXCLUDING EXTAB.
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  SET_USER_COMMAND
          text
    FORM SET_USER_COMMAND USING R_UCOMM
                                RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN 'DC'.
          READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
          IF SY-SUBRC = 0.
            SELECT SINGLE MTART
                          FROM MARA
                          INTO V_MTART
                          WHERE MATNR = IT_VBAP-MATNR.
            IF SY-SUBRC <> 0.
       MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
            ELSE.
              WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
              WRITE :/ 'MATERIAL TYPE :' , V_MTART.
            ENDIF.
          ENDIF.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'CLOSE'.
          CALL TRANSACTION 'SE38'.
      ENDCASE.
    REPORT  Z_ALV_INTERACTIVE  MESSAGE-ID ZMSG_50651
                                    LINE-SIZE 100
                                    LINE-COUNT 60
                                    NO STANDARD PAGE HEADING.
    ******************TABLES DECLARATION*****************
    TABLES : VBAP,MARA.
    *****************TYPE POOLS**************************
    TYPE-POOLS : SLIS.
    ****************INTERNAL TABLES**********************
    DATA : BEGIN OF IT_VBAP OCCURS 0,
    VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
    POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
    MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
    END OF IT_VBAP.
    ****************TEMPORARY VARIABLES******************
    DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
    DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
    *****************FIELD CATALOG***********************
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    ****************LAYOUT*******************************
    DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
    ***************VARIANT*******************************
    DATA : G_VARIANT LIKE DISVARIANT.
    ****************SAVE*********************************
    DATA : G_SAVE(1) TYPE C.
    *****************EVENTS******************************
    DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
           G_EVENTS TYPE SLIS_T_EVENT.
    ******************PF STATUS**************************
    DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
    ******************USER COMMAND************************
    DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
           R_UCOMM LIKE SY-UCOMM.
    ****************SELECTION SCREEN************************
    SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
    ***************AT SELECTION SCREEN*********************
    AT SELECTION-SCREEN.
      PERFORM VALIDATE.
    **************START-OF-SELECTION**************************
    START-OF-SELECTION.
      PERFORM GET_DETAILS.
      PERFORM FIELDCAT.
      PERFORM LAYOUT.
      PERFORM VARIANT.
      PERFORM SAVE.
      PERFORM EVENTS.
      PERFORM ALV_DISPLAY.
    *********************FORMS*******************************************
    *&      Form  validate
          text
    -->  p1        text
    <--  p2        text
    FORM VALIDATE .
      SELECT SINGLE VBELN
                    FROM VBAP
                    INTO V_VBELN
                    WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'enter valid vbeln'.
      ENDIF.
    ENDFORM.                    " validate
    *&      Form  get_details
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DETAILS .
      SELECT VBELN
             POSNR
             MATNR
             FROM VBAP
             INTO TABLE IT_VBAP
             WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'no details found'.
      ENDIF.
    ENDFORM.                    " get_details
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'VBELN'.
      WA_FIELDCAT-OUTPUTLEN = 10.
      WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'POSNR'.
      WA_FIELDCAT-OUTPUTLEN = 6.
      WA_FIELDCAT-SELTEXT_L = 'ITEM'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-OUTPUTLEN = 18.
      WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    " fieldcat
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
      WA_LAYOUT-ZEBRA = 'X'.
    ENDFORM.                    " LAYOUT
    *&      Form  VARIANT
          text
    -->  p1        text
    <--  p2        text
    FORM VARIANT .
      CLEAR G_VARIANT.
      G_VARIANT-REPORT = SY-REPID.
    ENDFORM.                    " VARIANT
    *&      Form  SAVE
          text
    -->  p1        text
    <--  p2        text
    FORM SAVE .
      CLEAR G_SAVE.
      G_SAVE = 'A'.
    ENDFORM.                    " SAVE
    *&      Form  EVENTS
          text
    -->  p1        text
    <--  p2        text
    FORM EVENTS .
      CLEAR XS_EVENTS.
      XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND XS_EVENTS TO G_EVENTS.
    ENDFORM.                    " EVENTS
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      WRITE :/ ' INTELLI GROUP'.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  ALV_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM ALV_DISPLAY .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = SY-REPID
       I_CALLBACK_PF_STATUS_SET         = PF_STATUS
         I_CALLBACK_USER_COMMAND        = USER_COMMAND
      I_STRUCTURE_NAME               =
         IS_LAYOUT                      = WA_LAYOUT
         IT_FIELDCAT                    = IT_FIELDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
         I_SAVE                         = G_SAVE
        IS_VARIANT                      = G_VARIANT
         IT_EVENTS                      = G_EVENTS
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = IT_VBAP
       EXCEPTIONS
         PROGRAM_ERROR                  = 1
         OTHERS                         = 2
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " ALV_DISPLAY
    *&      Form  SET_PF_STATUS
          text
    FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'STANDARD' EXCLUDING EXTAB.
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  SET_USER_COMMAND
          text
    FORM SET_USER_COMMAND USING R_UCOMM
                                RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN 'DC'.
          READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
          IF SY-SUBRC = 0.
            SELECT SINGLE MTART
                          FROM MARA
                          INTO V_MTART
                          WHERE MATNR = IT_VBAP-MATNR.
            IF SY-SUBRC <> 0.
       MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
            ELSE.
              WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
              WRITE :/ 'MATERIAL TYPE :' , V_MTART.
      SUBMIT SLIS_DUMMY WITH P_MATNR EQ IT_VBAP-MATNR
                        WITH P_MTART EQ V_MTART.
            ENDIF.
          ENDIF.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'CLOSE'.
          CALL TRANSACTION 'SE38'.
      ENDCASE.
    plz reward if useful

  • Sql*loader help needed!!

    I am loading data using the SQLLDR utility of Oracle. I defined one column as seq. I am loading the data, it is working properly but next column is not loaded correctly.
    Problem :
    First Character in the second column was missing. Please help me how to correct the ctl file.
    Table:
    CREATE TABLE SEQ_TAB1 (
    A_ID NUMBER (10) NOT NULL,
    A_NAME VARCHAR2 (25) NOT NULL,
    A_TYPE VARCHAR2(25)
    Seqence : t_seq1 (a_id)
    Data file:
    Alabama,first
    Alaska,ice
    California,hot
    Texas,time
    CTL file :
    LOAD DATA
    APPEND INTO TABLE seq_tab1
    a_id "t_seq1.nextval" ,
    a_name char terminated by "," ,
    a_type char terminated by ","
    Command :
    sqlldr username/password@service_name control=ctl_file log=log_file data=data_file
    The following way data has been loaded into the table.
    1,labama,first
    2,laska,ice
    3,alifornia,hot
    4,exas,time

    Try with position specified for the a_name column....
    CTL file :
    LOAD DATA
    APPEND INTO TABLE seq_tab1
    a_id "t_seq1.nextval" ,
    a_name position(1) char terminated by "," ,
    a_type position(*) char terminated by ","
    I am loading data using the SQLLDR utility of Oracle. I defined one column as seq. I am loading the data, it is working properly but next column is not loaded correctly.
    Problem :
    First Character in the second column was missing. Please help me how to correct the ctl file.
    Table:
    CREATE TABLE SEQ_TAB1 (
    A_ID NUMBER (10) NOT NULL,
    A_NAME VARCHAR2 (25) NOT NULL,
    A_TYPE VARCHAR2(25)
    Seqence : t_seq1 (a_id)
    Data file:
    Alabama,first
    Alaska,ice
    California,hot
    Texas,time
    CTL file :
    LOAD DATA
    APPEND INTO TABLE seq_tab1
    a_id "t_seq1.nextval" ,
    a_name char terminated by "," ,
    a_type char terminated by ","
    Command :
    sqlldr username/password@service_name control=ctl_file log=log_file data=data_file
    The following way data has been loaded into the table.
    1,labama,first
    2,laska,ice
    3,alifornia,hot
    4,exas,time

  • HELP needed !!! pleace help !!

    I have a problem. this is the site (
    http://home.planet.nl/~onbe1102/prikbord.html
    its a flash site and when i click to the name buttons i would
    like to open a *.XLS file or a site.
    the action fore the buttons ar now:
    btnWilliam_mc.onRollOver = function() {
    btnWilliam_mc.gotoAndPlay("_over");
    btnWilliam_mc.onRollOut = function() {
    btnWilliam_mc.gotoAndPlay("_out");
    btnArnold_mc.onRollOver = function() {
    btnArnold_mc.gotoAndPlay("_over");
    btnArnold_mc.onRollOut = function() {
    btnArnold_mc.gotoAndPlay("_out");
    btnAbal_mc.onRollOver = function() {
    btnAbal_mc.gotoAndPlay("_over");
    btnAbal_mc.onRollOut = function() {
    btnAbal_mc.gotoAndPlay("_out");
    pleace help !!! what am i doing wrong????
    HELP needed !!! pleace help !!

    You need a command that tells the button to open something
    btnAbal_mc.onRollOut = function() {
    getURL("name.xls or what ever", "_blank");
    The rollover and rollout are animations and you needed to
    tell the buttons to do something. Hope this helped

  • Opinions and help needed Pls.

    I am seeking some opinion and help.
    I need to setup and control both 9i and 10g databases using EM.
    The 9i databases will also be DataGuarded . I have successfully tested this using 9i EM with a repository
    and Intelligent Agents and the DataGuard Wizard to create logical standby databases. An interesting experience.
    Now that our first 10g database is in development, I would like to control it in a similar fashion. It will 'go' production
    in November and will also need to be DataGuarded.
    I am aware that each 10g Instance can have it's 'own' web interface, but to use the Dataguard wizard, I will need to use Grid control.
    Q1. Can someone confirm or refute that Grid control, with it's own applicaton server & DB instance, is permitted
    without ANY additional licenses at all, provided it is being used to control
    other fully licensed EE databases only?
    Q2. As 10gR1 Grid was the first release of the product, and we will be controlling 10gR2 databases (apparently patch 10.1.0.4 can do it),
    do YOU think we should use 10.1.0.4 GC now,
    or just use the 9i EM product and 10g Dataguard Broker command line tool 'DGMRGL' (not tested here yet), and wait for the 10gR2 GC hopefully early next year?
    Below are all the processes that were started by installing 10G grid (10.1.0.3) in Solaris 64.
    I will be attempting to apply the 10.1.0.4 EM Grid patch to this and controlling a 10.2.0.1 DB.
    I have successfully connected to the Grid Control ("as is" installed 10.1.0.3) using netscape.
    ( initially using http://localhost:7780:em which automatically became http://dandrutl02:7780/em/console/logon/sdk/incompatible;jsessionid=c0a89b1fce6b5d53d63770647e38909ad251f1b02be.n65In79Pr6KKaxCNaN0McybtahyM-x4Qc2SLbhiIaN4Iah1vbA5zawSLa3mPn39AahqQb2SHbQnAnwb5pBfzqB1Molbzhk5Imkrzqx0In65In79Pr6KKawaLaxiKc3uPbxeM8OexhOaOgzX5hgbynknvrkLOlQzNp65In0__ ) Click ok a few times.....
    Eventually I get to "http://dandrutl02:7780/em/console/logon/logon" and can login OK.
    I have successfully installed an agent for 10g GC on a remote host, and can control it from the Grid host. It could control
    a 9.2.0.7 instance on the remote host. 10.2.0.1 is also installed on the remote host but no Db has been created yet.
    Now, can someone tell me the commands I need, - and the correct order - to:
    Q3. Stop all Grid Web, application server, database, and local agent processes on the Grid host.
    Q4. Start-up of same.
    Q5. Start and stop of processes for the Grid Agent on the Remote agent host.
    Q6. What is the preference for the installation order of the 10g Agent and Oracle 10gR2 software ?
    Grid master processes
    ============
    /data/oracle/product/10.1.0.4EM/opmn/bin/opmn -d
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    ora_qmn0_REPOS10
    /data/oracle/product/10.1.0.4EM/jdk/bin/java -Xmx256m -Doracle.ias.sysmgmt.logg
    /data/oracle/product/10.1.0.4EM/bin/tnslsnr LISTENER -inherit
    ora_dbw0_REPOS10
    ora_lgwr_REPOS10
    ora_pmon_REPOS10
    ora_reco_REPOS10
    /data/oracle/product/10.1.0.4EM/opmn/bin/opmn -d
    ora_smon_REPOS10
    ora_cjq0_REPOS10
    ora_ckpt_REPOS10
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/jdk/bin/java -server -Djava.security.policy=/da
    /data/oracle/product/10.1.0.4EM/webcache/bin/webcached -A -OPMN -U 1250885641
    /bin/sh -c /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/rotatelogs /data/o
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/rotatelogs /data/oracle/produ
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/rotatelogs /data/oracle/produ
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /bin/sh -c /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/rotatelogs /data/o
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/rotatelogs /data/oracle/produ
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/jdk/bin/java -server -Xnoclassgc -Xmx256m -DORA
    /data/oracle/product/10.1.0.4EM/perl/bin/perl /data/oracle/product/10.1.0.4EM/b
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/bin/emagent
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/jdk/bin/java -server -Djava.security.policy=/da
    oracleREPOS10 (LOCAL=NO)
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    ora_j000_REPOS10
    ora_j001_REPOS10
    ora_j002_REPOS10
    ora_j003_REPOS10
    ora_j004_REPOS10
    ora_j005_REPOS10
    /bin/sh /data/oracle/product/9.2.0.6/bin/dbsnmpwd
    /opt/local/sbin/sshd
    /data/oracle/product/9.2.0.6/bin/dbsnmp
    oracleREPOS10 (LOCAL=NO)
    oracleREPOS10 (LOCAL=NO)
    oracleREPOS10 (LOCAL=NO)
    oracleREPOS10 (LOCAL=NO)
    oracleREPOS10 (LOCAL=NO)
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    oracleREPOS10 (LOCAL=NO)
    -ksh
    oracleREPOS10 (LOCAL=NO)
    /data/oracle/product/agent/bin/emagent
    oracleREPOS10 (LOCAL=NO)
    oracleREPOS10 (LOCAL=NO)
    /data/oracle/product/agent/perl/bin/perl /data/oracle/product/agent/bin/emwd.pl
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/webcache/bin/webcached -OPMN -U 1250885643
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    /data/oracle/product/10.1.0.4EM/Apache/Apache/bin/httpd -d /data/oracle/product
    oracleREPOS10 (LOCAL=NO)
    ora_j006_REPOS10
    oracleREPOS10 (LOCAL=NO)
    oracleREPOS10 (LOCAL=NO)
    Grid AGENT host processes
    ==========
    /data/oracle/product/10.1.0.4EM/bin/emagent
    /data/oracle/product/9.2.0.6/bin/tnslsnr LISTENER -inherit
    -ksh
    /data/oracle/product/10.1.0.4EM/perl/bin/perl /data/oracle/product/10.1.0.4EM/b
    /opt/local/sbin/sshd

    Thank you for the reply, it go me working. Now some additional info and questions.
    On a monitored host were I have both 9.2 and 10.2 databases installed, I was attempting to use just the 10.2 listener and the 10.1.0.4 agent to monitor everything. This worked.
    I Installed 9.2 , 10.2 and 10.1.0.4 Agent software and started a 10.2 listener and 10.1.0.4 agent on a second Unix host.
    But, when I attempted to set up a 9.2 DataGuarded logical databases to the second host, it failed and as far as I can tell it seems to be expecting that I will use a 9.2 listener for 9.2 DB's and a 10.2 listener for 10.2 Db's. (The errors were related to attempting to execute lsnrctl commands against wrong listener version).
    Can someone confirm that Oracle expects that you will use multiple listeners (on different ports of course)?
    I have also had some odd behavior from the 10g Grid application, only corrected by ending the session and restarting, but I am assuming that this is because Grid is still a relatively new product.
    For clarity, I list the order of installation below. Can someone check that I have done it right?
    host 1
    Install 9.2.0.1 software.
    Install Patches to same to get to our production level (9.2.0.4)
    Install several patches related to EM and CritialPatchUpdates etc.
    (as an aside, EM 9.2.0.6 with a management repository will control the above fine)
    Install 10.2.0.1 software
    Created a 9.2 and 10.2 test DB's.
    Configure 10.2 listener for all Db's
    host 2
    Install 9.2.0.1 software.
    Install Patches to same to get to our production level (9.2.0.4)
    Install several patches related to EM and CritialPatchUpdates etc.
    (as an aside, EM 9.2.0.6 with a management repository will control the above fine)
    Install 10.2.0.1 software
    management host
    Install 10.1.0.3 grid control to new database
    (Installes AS , creates a 9.0.? Db for the repository, Agent etc)
    Install 10.1.0.4 grid patch to grid home
    Install 10.1.0.4 grid patch to agent home
    host 1
    Install 10.1.0.3 grid agent
    Install 10.1.0.4 patch to agent
    host 2
    Install 10.1.0.3 grid agent
    Install 10.1.0.4 patch to agent
    Whew! And Oracle thinks this is easy?
    I am seriously considering using 9.2 EM and OMS for the DataGuard on 9.2 Db's only and 10G's database broker command line interface for the 10.2 stuff and banning use of 10g Grid control 10.1.
    I Need a 10gGrid control 2.01 more stable, reliable, simpler, NOW.
    Migrating a 9.2 OMS and repository to 10g Grid when it becomes usable will need to be possible.
    You thoughts?

  • Error messages help need asap!!!!

    hi this is my code and I need help with what i need to do and how to do it to get rid of the error messages
    CREATE OR REPLACE FUNCTION
    no_of_task_types (x NUMBER)
    RETURN NUMBER IS
    my_val NUMBER;
    BEGIN
    SELECT COUNT(distinct t.task_type_no)
    INTO my_val
    FROM employee e, assignment a, task t
    WHERE e.employee_id = x
    AND e.employee_no = a.employee_no
    AND t.task_id = a.task_id
    RETURN tasktotal;
    END;
    SHOW ERRORS
    these are the error messages:
    Warning: Function created with compilation errors.
    Errors for FUNCTION NO_OF_TASK_TYPES:
    8/1     PL/SQL: SQL Statement ignored
    13/27     PL/SQL: ORA-00933: SQL command not properly ended

    Hi,
    Welcome to the forum!
    Don't say things like "urgent" or "asap" (as in your title, "error messages help need asap!!!!"). It's rude.
    971848 wrote:
    hi this is my code and I need help with what i need to do and how to do it to get rid of the error messages
    CREATE OR REPLACE FUNCTION
    no_of_task_types (x NUMBER)
    RETURN NUMBER IS
    my_val NUMBER;
    BEGIN
    SELECT COUNT(distinct t.task_type_no)
    INTO my_val
    FROM employee e, assignment a, task t
    WHERE e.employee_id = x
    AND e.employee_no = a.employee_no
    AND t.task_id = a.task_id
    RETURN tasktotal;
    END;
    SHOW ERRORS
    these are the error messages:
    Warning: Function created with compilation errors.
    Errors for FUNCTION NO_OF_TASK_TYPES:
    8/1     PL/SQL: SQL Statement ignored
    13/27     PL/SQL: ORA-00933: SQL command not properly endedIt looks like you're missing a semicolon at the end of line 13; that's why the statement beginning at line 8 can't be understood.
    Also, you store a number in my_val, but never use that number, and you have a variable called tasktotal that's never defined. Should my_val and tasktotal be the same variable?
    Perhaps this is what you want:
    CREATE OR REPLACE FUNCTION
           no_of_task_types (x NUMBER)
    RETURN NUMBER IS
        tasktotal   NUMBER;
    BEGIN
        SELECT  COUNT(distinct t.task_type_no)
        INTO    tasktotal
        FROM    employee e, assignment a, task t
        WHERE   e.employee_id = x
        AND     e.employee_no = a.employee_no
        AND     t.task_id        = a.task_id;          -- ; at end is important
        RETURN tasktotal;
    END;
    /This question doesn't have anything to do with SQL*Plus, so maybe the SQL*Plus forum isn't the best place for it. This is strictly a PL/SQL problem; in the future, post questions like this in the PL/SQL. The FAQ page for that forum, {message:id=9360002} , can really help you.

  • Help needed setting up an accelerometer via serial port

    Hoping you might be able to give me some advice and point me in the right direction as my experience with labview is limited.
    I am wanting to read data from an accelerometer streaming through a serial port. Using the labview examples i have no problems in connecting to the device and seeing the data but i am going around in circles trying to work out where to from now.  
    I need to create a VI which would show data streaming and then gives the user the ability to save data for various time periods to a text file. I am getting stuck as the data from the accelerometer is constantly streaming in 20byte packets every 2ms in the following format: 7E 00 0E 83 00 00 26 00 01 0E 00 02 00 01 F9 02 64 E5, where 00 02 01 F9  02 64 is the data of interest and of course when starting to read from the device it isnt necessary going to begin at the start of the packet.
    I am assuming that inside the while loop i need to get the vi to scan the string to find the start of the first packet and then begin writing it to an array using a shift register for each sample with the left over from the string if not reading the full packet being attached to the next read, then if the data is to be saved to a txt file get it to enter a for loop for the user to define the number of samples to be saved or use an index array option to save a subset of data to a txt file.
    Would greatly appreciate any device or examples of the most efficient way to set this up before i lose my sanity!  

    The easy way is a three step process.
    First, acquire 2n-1 bytes (39 in your case) so you are sure you have a full set of data.  Parse out the first full set using the string utilities (match pattern, split string, etc.).  The remainder of the string is the start of your next data set.
    Second, acquire enough points to get the next data set and parse it.
    Third, continue looping and getting 20 bytes (keep verifying your start and end so you know if there are glitches).
    A harder, but far more robust, way, is the following:
    Read in data until you get your start sequence.  A circular buffer would be useful for this (you will need to implement this yourself).
    Read in your data of interest and record/save/...
    Read in the terminator.
    Repeat as needed.
    For all of these, you can use a flat sequence in a loop, but a state machine is far easier and more flexible in the long run.  Check out the LabVIEW help and these forums for how to create and use a state machine.
    It is often easier to use arrays of U8s instead of strings for this type of data manipulation.  Under the hood, they are the same thing, so the conversions between the two are highly efficient.
    Let us know about any problems you run into.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Help needed with java

    Hello everyone
    I'm a Student and new to java and I have been given a question which I have to go through. I have come across a problem with one of the questions and am stuck, so I was wondering if you guys could help me out.
    here is my code so far:
    A Class that maintains Information about a book
    This might form part of a larger application such
    as a library system, for example.
    @author (your name)
    *@version (a version number or a date)*
    public class Book
    // instance variables or fields
    private String author;
    private String title;
    Set the author and title when the book object is constructed
    public Book(String bookAuthor, String bookTitle)
    author = bookAuthor;
    title = bookTitle;
    Return The name of the author.
    public String getAuthor()
    return author;
    Return The name of the title.
    public String getTitle()
    return title;
    and below are the questions that I need to complete. they just want me to add codes to my current one, but the problem is I don't know where to put them and how I should word them, if that makes sense.
    Add a further instance variable/field pages to the Book class to store the number of pages in the book.
    This should be of type int and should be set to 0 in the Constructor.
    Add a second Constructor with signature
    public Book(String bookAuthor, String bookTitle, int noPages) so it has a third parameter passed to it as well as the author and title;
    this parameter is used - obviously?? - to initialise the number of pages.
    Note: This is easiest done by making a copy of the existing Constructor and adding the parameter.
    Add a getPages() accessor method that returns the number of pages in the book.
    Add a method printDetails() to your Book class. This should print out the Author title and number of pages to the Terminal Window. It is your choice as to how the data is formatted, perhaps all on one line, perhaps on three, and with or without explanatory text. For instance you could print out in the format:
    Title: Robinson Crusoe, Author: Daniel Defoe, Pages:226
    Add a further instance variable/field refNumber() to your Book class. This stores the Library's reference number. It should be of type String and be initialised to the empty String "" in the constructor, as its initial value is not passed in as a parameter. Instead a public mutator method with the signature:
    public void setRefNumber(String ref) should be created. The body of this method should assign the value of the method parameter ref to the refNumber.
    Add a corresponding getRefNumber() accessor method to your class so you can check that the mutator works correctly
    Modify your printDetails() method to include printing the reference number of the book.
    However the method should print the reference number only if it has been set - that is the refNumber has a non-zero length.
    If it has not been set, print "ZZZ" instead.
    Hint Use a conditional statement whose test calls the length() method of the refNumber String and gives a result like:
    Title: Jane Eyre, Author: Charlotte Bronte, Pages:226, RefNo: CB479 or, if the reference number is not set:
    Title: Robinson Crusoe, Author: Daniel Defoe, Pages:347, RefNo: ZZZ
    Modify your setRefNumber() method so that it sets the refNumber field only if the parameter is a string of at least three characters. If it is less than three, then print an error message (which must contain the word error) and leave the field unchanged
    Add a further integer variable/field borrowed to the Book class, to keep a count of the number of times a book has been borrowed. It should (obviously??) be set to 0 in the constructor.
    Add a mutator method borrow() to the class. This should increment (add 1 to) the value of borrowed each time it is called.
    Include an accessor method getBorrowed() that returns the value of borrowed
    Modify Print Details so that it includes the value of the borrowed field along with some explanatory text
    PS. sorry it looks so messey

    1. In the future, please use a more meaningful subject. "Help needed with java" contains no information. The very fact that you're posting here tells us you need help with Java. The point of the subject is to give the forum an idea of what kind of problem you're having, so that individuals can decide if they're interested and qualified to help.
    2. You need to ask a specific question. If you have no idea where to start, then start here: [http://home.earthlink.net/~patricia_shanahan/beginner.html]
    3. When you post code, use code tags. Copy the code from the original source in your editor (NOT from an earlier post here, where it will already have lost all formatting), paste it in here, highlight it, and click the CODE button.

  • Fluke 6060B Frequency, Amplitude GPIB commands HELP!

    fluke 6060B Frequency, Amplitude GPIB commands HELP! The very old and useless scanned copy of the manual showed the GPIB commands: FR230MZ but it NEVER worked, same for amplitude, anyone can send the WORKING vi that can set any number with any significant digits for frequency and amplitude, GREATLY appreciated!

    Please don't shout.  It doesn't help at all to do that.
    When you use the driver, what VI are you using? Do you get any kind of error code back from the VI? What is it if you do? When you send your frequency command, is this with the driver of in MAX? When the frequency command does not execute, have you done an errory query of the instrument? There is a funciton in the driver for that. It would be extremely helpful to know if the instrument replies back with some error message or code. I don't know if it's related to the problem you are seeing but the driver I downloaded needs to be modified to work with newer versions of VISA. The initialize function has an 'Old' VISA Open. This should be replaced with the normal VISA Open on the palette. I modified this and the Getting Started function to be correct and attached them.
    Attachments:
    FL6060X Initialize.vi ‏79 KB
    FL6060A Getting Started.vi ‏57 KB

Maybe you are looking for