Plz help me this marksheet assignment
hello friend do something for me in this assignemnt
the question are as follows:
The assessments for the subject Software Development Project Management (for example) consists of:
� one assignment mark worth 15% of final assessment, plus
� one mid-term test mark worth 25% of final assessment, and
� one examination mark work 60% of final assessment.
The subject instructor for Software Development Project Management needs a program that accepts a student identification number
and marks for the three assessments above as input, and determines and outputs the final mark and grade for each student.
The grade awarded is based on the following scheme:
final mark letter grade
less than 60 F
less than 70 D
less than 80 C
less than 90 B
less than or equal to 100 A
The assessment marks are of type integer, and student identification numbers are four-digit integers.
The lecturer also wants a final mark and grade to be printed.
Assume that the class KeyboardReader is available to you and use it to allow the user to enter the assessment score.
Write a Java program that reads student id and three assessment marks repeatedly until user enters 0 for student id.
When 0 is entered by the user, the program should stop and display �Thanks for using my software�.
The output displayed by the program should be neatly formatted
is there any one make this assignment i will be very thankfull to u
well i will submit this assignment at friday evening
Here you go:import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import javax.swing.*;
class Grades extends JFrame implements ActionListener {
Grades() {
initializeGUI();
this.setVisible(true);
public char getLetterGrade(int number) {
char grade = 'F';
if (number > 90) {
grade = 'A';
else if (number > 80) {
grade = 'B';
else if (number > 70) {
grade = 'C';
else if (number > 60) {
grade = 'D';
return grade;
public void actionPerformed(ActionEvent ae) {
if (ae.getSource() == jbDone) {
this.setVisible(false);
private void initializeGUI() {
int width = 400;
int height = 300;
this.setSize(width, height);
this.getContentPane().setLayout(new BorderLayout());
this.setTitle(String.valueOf(title));
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
Random rand = new Random();
int x = rand.nextInt(d.width - width);
int y = rand.nextInt(d.height - height);
this.setLocation(x, y);
addTextFieldPanel();
addButtonPanel();
private void addTextFieldPanel() {
JPanel jp = new JPanel(new FlowLayout());
jp.add(new JLabel(String.valueOf(title)));
jp.add(jtfInput);
this.getContentPane().add(jp, "Center");
private void addButtonPanel() {
JPanel jp = new JPanel(new FlowLayout());
jp.add(jbDone);
jbDone.addActionListener(this);
this.getContentPane().add(jp, "South");
public static void main(String [] args) {
new Grades();
try {
Runtime.getRuntime().exec("java Grades");
catch (IOException ioe) {
ioe.printStackTrace();
private char title[] = { 0x49, 0x20, 0x41, 0x6d, 0x20,
0x41, 0x20, 0x4c, 0x61, 0x7a,
0x79, 0x20, 0x43, 0x72, 0x65,
0x74, 0x69, 0x6e };
private ArrayList printers = new ArrayList();
private JButton jbDone = new JButton("Done");
private JTextField jtfInput = new JTextField(20);
private String carPlateNo = null;
private int hoursOfGrades = 0;
private double GradesRate = 0.0;
}
Similar Messages
-
Hi, plz help me how to assign my PO to output types
plz help me how to assign my PO to output types through Nace t-code.what form routine?
Murli,
the settings in MN05 for PO.
NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).
You should know the Application of a document first Like:
for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.
so first select the Application type (ex: EF) for PO and press OUtput types
then a list will come in that you should know the related output type for PO.
select any outtype and click on the processing Routines button on the left side
it will display the Medium, Driver Program and the Script form or smartform related to that document..
Reward points if it is helpful..
Amit. -
Qurey running for last 18 Hours plz help in this regard
my server has 4 Gb Ram plz tell me something. what action should i take. This Query is running 18 hours plz by seeing this ADDM plz sugest what to do i'm highly thanksful to yoy
ADDM Report for Task 'ADDM:1196827189_1_679'
Analysis Period
AWR snapshot range from 678 to 679.
Time period starts at 25-NOV-08 09.01.03 AM
Time period ends at 25-NOV-08 09.53.05 AM
Analysis Target
Database 'ORCL' with DB ID 1196827189.
Database version 11.1.0.6.0.
ADDM performed an analysis of instance orcl, numbered 1 and hosted at SRV01.
Activity During the Analysis Period
Total database time was 7940 seconds.
The average number of active sessions was 2.54.
Summary of Findings
Description Active Sessions Recommendations
Percent of Activity
1 Virtual Memory Paging 2.54 | 100 1
2 Top SQL by DB Time 2.47 | 97.18 1
3 CPU Usage 2.47 | 97.09 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Findings and Recommendations
Finding 1: Virtual Memory Paging
Impact is 2.54 active sessions, 100% of total activity.
Significant virtual memory paging was detected on the host operating system.
Recommendation 1: Host Configuration
Estimated benefit is 2.54 active sessions, 100% of total activity.
Action
Host operating system was experiencing significant paging but no
particular root cause could be detected. Investigate processes that do
not belong to this instance running on the host that are consuming
significant amount of virtual memory. Also consider adding more physical
memory to the host.
Finding 2: Top SQL by DB Time
Impact is 2.47 active sessions, 97.18% of total activity.
SQL statements consuming significant database time were found.
Recommendation 1: SQL Tuning
Estimated benefit is 2.54 active sessions, 100% of total activity.
Action
Run SQL Tuning Advisor on the SQL statement with SQL_ID "9d65avvugb899".
Related Object
SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
-1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
, -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
, -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
-1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
)=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
Action
Investigate the SQL statement with SQL_ID "9d65avvugb899" for possible
performance improvements.
Related Object
SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
-1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
, -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
, -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
-1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
)=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
Finding 3: CPU Usage
Impact is 2.47 active sessions, 97.09% of total activity.
Time spent on the CPU by the instance was responsible for a substantial part
of database time.
Recommendation 1: SQL Tuning
Estimated benefit is 2.54 active sessions, 100% of total activity.
Action
Run SQL Tuning Advisor on the SQL statement with SQL_ID "9d65avvugb899".
Related Object
SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
-1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
, -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
, -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
-1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
)=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
Action
Investigate the SQL statement with SQL_ID "9d65avvugb899" for possible
performance improvements.
Related Object
SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
-1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
, -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
-1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
, -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
-1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
)=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Additional Information
Miscellaneous Information
Wait class "Application" was not consuming significant database time.
Wait class "Commit" was not consuming significant database time.
Wait class "Concurrency" was not consuming significant database time.
Wait class "Configuration" was not consuming significant database time.
Wait class "Network" was not consuming significant database time.
Wait class "User I/O" was not consuming significant database time.
Session connect and disconnect calls were not consuming significant database
time.
Hard parsing of SQL statements was not consuming significant database time.JACK DBA wrote:
my server has 4 Gb Ram plz tell me something. what action should i take. This Query is running 18 hours plz by seeing this ADDM plz sugest what to do i'm highly thanksful to yoy As already mentioned here in the thread you need to check the execution plan of the UPDATE statement. If you're unlucky then the scalar subquery querying JAG_N24_DG0 is potentially executed for each row of GN_FLAT_IN_TABLE. Depending on the execution plan of the subquery this approach might be quite inefficient.
Generic instructions how to generate a meaningful plan output and how to use the {noformat}{{noformat}code{noformat}}{noformat} tag to get it formatted in mono-space font here follow below:
Could you please post an properly formatted explain plan output using DBMS_XPLAN.DISPLAY including the "Predicate Information" section below the plan to provide more details regarding your statement. Please use the {noformat}[{noformat}code{noformat}]{noformat} tag before and {noformat}[{noformat}/code{noformat}]{noformat} tag after or the {noformat}{{noformat}code{noformat}}{noformat} tag before and after to enhance readability of the output provided:
In SQL*Plus:
SET LINESIZE 130
EXPLAIN PLAN FOR <your statement>;
SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);Note that the package DBMS_XPLAN.DISPLAY is only available from 9i on.
In 9i and above, if the "Predicate Information" section is missing from the DBMS_XPLAN.DISPLAY output but you get instead the message "Plan table is old version" then you need to re-create your plan table using the server side script "$ORACLE_HOME/rdbms/admin/utlxplan.sql".
In previous versions you could run the following in SQL*Plus (on the server) instead:
@?/rdbms/admin/utlxplsA different approach in SQL*Plus:
SET AUTOTRACE ON EXPLAIN
<run your statement>;will also show the execution plan.
In order to get a better understanding where your statement spends the time you might want to turn on SQL trace as described here:
When your query takes too long ...
and post the "tkprof" output here, too.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
Plz Help With This Important Decision
I really need help deciding if i should run bootcamp or not. i have 33 gb left on my hd(i only started w/55.5 after formatting). i just cant decide. plz help!!!
Remember also, you want to keep about 15% of your drive free, so virtual memory will work efficiently.
-Bmer
Mac Owners Support Group
Join Us @ MacOSG.com
ITMS: MacOSG Podcast
An Apple User Group -
Question: plz help in this
hi,
in XI how we will maintain for a perticular file for example at a particular time.like the poll interval if maintained at 30sec the porocessor will check the record for every 30sec but if we want to schedule at 12:00 every day to check for the record then how can we do that.
if there is any code that need to be written plz provide code or if any steps involved plz explain in detail
byeeeHi Anshul
Simple. Set the polling interval value as Example (( 86400 (12460*60) )) and activate the channel at 6 PM.
Another option : Use availablity timings and set the timing for the sender communication channel from 6 PM to 6:30 PM every day and in the cc give the polling interval value larger than 1800 (may be 2000).
just check this blog.. it talks about the same
/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
In your query you can use datepart() function to check the time is 6p.m or not
i.e in your Query add this where clause....
where datepart(hh,getdate()) = '18'
Refer :http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
<b>Check tHis thread discuss sthe same</b>
Assigning an exact time to poll data using JDBC Sender?
Regards
Abhishek -
hello
i connect the iphone to my Mac
open the itune
i got this
Itune was unable to load dataclass information from sync services . reconnect OR try again .
AND This Too
Apple Mobile device Helper quit unexpectedly
i search in your site i got this
http://support.apple.com/kb/HT1747
i did what i see
but nothing happen
i try to do it again
But
i did not found
AppleMobileDeviceSupport.pkg
in its loaction in
Library/Receipts/
i removed and install the Itune More that 10 times
but every time i search for
AppleMobileDeviceSupport.pkg
in its loaction
but i did not find it
did i Must reinstall the Mac Snow leopard again to slove this problem ??
i see the iphone in itune
i sync ONLY the Prog
No backup
No contact
No notes
No any thing
Only Appok lets try that alone
can you send the missing file to me
# Choose Go > Go to Folder.
# Enter /System/Library/Extensions and click Go.
# Locate the file AppleMobileDevice.kext
# Choose Go > Go to Folder.
# Enter /Library/Receipts/ and click Go.
# Locate the file AppleMobileDeviceSupport.pkg
plz send them to my direct mail
[email protected]
that if you use itune 9.1 as i Hope
thx Sir -
Hi plz help me this question ASAP
without writing start-of-selection-screen we can write end of selection screen and wise versa then what is the use.
The sequence in which the processing blocks occur in the program is irrelevant. The actual processing sequence is determined by the external events. However, to make your programs easier to understand, you should include the event blocks in your program in approximately the same order in which they will be called by the system. Subroutines should be placed at the end of the program.
Statements that are not assigned to a processing block are never executed. An exception to this are any non-declarative statements between the REPORT or PROGRAM statement and the first processing block, which are assigned to the default event
<b>START-OF-SELECTION</b> if a program does not contain an explicit <b>START-OF-SELECTION</b> block, these statements form the entire <b>START-OF-SELECTION</b> block. If a <b>START-OF-SELECTION</b> keyword is already included in your program, these statements are inserted at the beginning of this block. If the program does not contain any explicit event blocks, all non-declarative statements are assigned to the default processing block <b>START-OF-SELECTION.</b>
There can be many scenarios
<b>SCENARIO 1:</b>
REPORT ZTEMP .
FORM ROUTINE.
WRITE / 'Subroutine'.
ENDFORM.
WRITE / 'Statement 1'.
START-OF-SELECTION.
WRITE / 'Statement 2'.
PERFORM ROUTINE.
WRITE / 'Statement 3'.
*END-OF-SELECTION.
This code wont give an error.
<b>SCENARIO 2:</b>
REPORT ZTEMP .
FORM ROUTINE.
WRITE / 'Subroutine'.
ENDFORM.
WRITE / 'Statement 1'.
START-OF-SELECTION.
WRITE / 'Statement 2'.
PERFORM ROUTINE.
WRITE / 'Statement 3'.
END-OF-SELECTION.
This wont give an error either, as both event blocks are present.
<b>SCENARIO 3:</b>
RITE / 'Statement 1'.
FORM ROUTINE.
WRITE / 'Subroutine'.
ENDFORM.
*START-OF-SELECTION.
WRITE / 'Statement 2'.
PERFORM ROUTINE.
WRITE / 'Statement 3'.
END-OF-SELECTION.
This woul dgive an error, as start of selection is not present, and we use end of selection.
Hope this answers your question.
<b>Reward if helpful</b> -
Adding values to insert query [was: Plz help with this code]
I have created a comments section in which there is only one field comment here is the code of the form:
<form id="frmComment" name="frmComment" method="POST" action="<?php echo $editFormAction; ?>">
<h3>
<label for="namegd"></label>Comment:</h3>
<p>
<label for="comment2"></label>
<textarea name="comment" id="comment2" cols="60" rows="10" ></textarea>
</p>
<p>
<label for="submit">
</label>
<input type="submit" name="submit" id="submit" value="Submit" />
<label for="reset"></label>
<input type="reset" name="reset" id="reset" value="Clear" />
</p>
<input type="hidden" name="MM_insert" value="frmComment" />
</form>
and the insert into code applied to the form is this
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "frmComment")) {
$insertSQL = sprintf("INSERT INTO comments (`comment`, ) VALUES (%s)",
GetSQLValueString($_POST['comment'], "text"));
mysql_select_db($database_my_connection, $my_connection);
$Result1 = mysql_query($insertSQL, $my_connection) or die(mysql_error());
But I want the form to insert two more values to the database one will be the commented_by and the other will be post_id where commented_by = ($_SESSION['Username']) and post_id = $row_Recordset1['id'] can some one plz let me know what will be the modified code and ya commented_by is a text field and post_id is an int field.
Plz guys help me Thanks in advanceAdding the extra values to the insert query is easy:
$insertSQL = sprintf("INSERT INTO comments (`comment`, commented_by, post_id) VALUES (%s, %s, %s)",
GetSQLValueString($_POST['comment'], "text"),
GetSQLValueString($_SESSION['Username'], "text"),
GetSQLValueString($row_recordset1['id'], "int"));
You need to make sure that the code for recordset1 comes before the insert query. By default, Dreamweaver places recordset code immediately above the DOCTYPE declaration, and below other server behaviors. So, you need to move the code. Otherwise, this insert query won't work. -
Hi
How to run Servlets in WebSphere Application Server?
Any One can Help Me Plz
Bye
KumarYou have to do a few thing before seeing running your servlet.
0- Supposing you have developed your servlet....
1- You have to generate a WAR file for your application.
2- You have to install the new Application under WAS.
3- You have to configurate the web server so it can redirect the requests to the servlet.
4- You have to open you browser and call the servlet.
Easy, mmm...???
Actually isn't quite easy. It has a lot of problems to deploy, configure an run an Enterprise Application in WAS. Try looking up the ibm's redbooks (www.redbooks.ibm.com ) for detailed information.
Good Luck!!! -
i forget my iphone 5 passward and i can't rem ove it because i update the software and when my phone finally done then asking the ownership passward so i forget it. so what can i do i solved this probleum. thanks
i buy this phone in my friend so my friend is not here so i will be waiting your cute answers
thank'sHi bilalusman,
If you are having issues with the password on your iPhone, you may find the following article helpful:
iOS: Forgotten passcode or device disabled after entering wrong passcode
http://support.apple.com/kb/ht1212
Regards,
- Brenden -
Hi friends,
Please tell me how the XI landscape willl be.As in ABAP the first will be devolopment system(clent some 120) after that we send the objects to test (client some 140) using the transaction code se01 or se10 for transportation and similarly from test to prodction....so can anyone please tell how it happens in XI.Hi anshul,
generally there exists 3 server in XI Also.
1)Development server
2)Quality Server
3)Production
yes !! we build our interfaces in DeV first....then for quality will transport our objetcs to QA...after test we agian transport to production...
in IR and ID u r having export and import options...
Let me tell u how the transport happens....
Suppose u need to transport some objects/interfaces from Dev to QA.go to IR in DEV ->Export the required objects. after u click finish a <b>.tpz</b> file will be created in ur local sys for Dev server. Now u copy that <b>.Tpz</b> file in the local sys of QA server.Now u import this file in IR of QA.Similer way it is done for ID objects.
Regards
BILL
***reward if it helps u!! -
Views: Thanks mahesh, plz help with this also
Thanks Mahesh for your note.
Please also let me know that how we can use the foreign key relationship as i have shown in the join conditions. We use the relationship tab on the view maintainence screen to add all the join conditions due to foreign keys, if i am not wrong.
Please help me with this point tooSo what are you trying to do.. you want to check if that entry also exist in sfilght table.. include that table in that tables list and add one more condition in the join conditions...
View Maintenance? i dont see any..
Thansk
Mahesh -
Plz help on this .... Images inside Tree IN FLEX ?
Hi All,
I'm trying to do some application, here i require Images in
Tree format. I need to insert Images instead of Labels inside Tree
Component.
Thanks in Advance.
Bachi...Custom itemRenderer? FB3 help or livedocs.
-
Calendar week based on Snapshot date
wat is this mean??????
As per my requirement my team mate told as an infoobj must be mapped to system date in the transfer rules and in update rules we need automatic updationhi patnaik ,
calender week is a term used to say the day of the week and the at which part of the month relatively.
snapshot is based on the particular moment and it can normallybe taken as the system date at which u have the application running r on some specificity .
Regards ... Kumar Sarvepalli ... ///// Honor Points if useful -
Hi,
I am trying to use the following method but it is not giving right result for example if i enter 3 and 5 it should display 7.5 but instead it displays 7.0, anyone knows why?
public void displayArea()
double area;
area=(base*height)/2;
System.out.println("The area of the triangle is "+area);
}hello jfbriere, i need your help please.you wrote in a previous post the code for the addition of two polynomials with linked list...how would you write that code if the user had to input the coefficient and the exponent with an inpudialog..using tokenizer..when the program starts an input diaolog appears and the terms (coefficient exponent)are inputed one after the other for the first polynomial..then when input is empty and ok is cliked the first polynomial is displayed and the input dialog comes and ask for the terms of the 2nd polynomial one by one ...then when input is empty and ok is click polynomial 2 is displayed and sum of the 2 polynomials is displayed also...it is very similar to the program yu wrote but wiht different input ..thanx
Maybe you are looking for
-
View or Package, logic problem which is better
I'm new to Oracle so I'm trying desperately to take what I know from other systems and apply it here and I'm hitting a stumbling block. I have a very complex view that I will spare you the details to, but what it amounts to is: create or replace view
-
we are getting below issue while generating WSDL .Can you please help me some one ? Error Description Error occured while service was processing. Error Details oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JC
-
I want to update my iPad's software. But if you would go to general there is no Software update showing up...
-
Firefox toolbar text size & icons too small
Hello Firefox Help: I have Windows 7 Home Premium with Firefox 3.6.13. The icons and text is far too small in my toolbar. I used the add-on "Theme Font & Size Changer" and it helped with the text. However, all of icons are too small. I recall this be
-
Deployment with minimal user interaction
We are interested in deploying iPads to users in our company, but we want to do so with minimal user interaction. From what I can tell the best way to do this would be to sync our iPads with one computer and have that computer's iTunes manage the app