Command to goto primarylist from secondarylist
hi,
what is the command/transactioncode to move from secondarylist to basic/primarylist and what happens if we create 21 secondarylist will the control goto 21st from 20th , on selecting a field will it directly goto 21st list.
Naveen,
Try this..
at selection-screen.
if sy-lsind = 3.
sy-lsind = 10.
endif.
Similar Messages
-
How can i install snow leopard on my mac G5 using a command line and booting from an external usb rom, since my disk i have is not a bootable media
Hi.
You simply can't. Snow Leopard is compiled in Intel binary only.
Good Luck. -
When I attempt to use Firefox, the address bar and all the command & tool bars disappear from view as soon as I start the program. I can see the scrolling our of view at the top of my screen. This leaves me with no way to enter a web address, navigate or even exit the program.
Make sure that you do not run Firefox in full screen mode (press F11 or Fn + F11 to toggle; Mac: command+Shift+F).<br />
If you are in full screen mode then hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.<br />
You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11. -
How execute a command on the Console from our prgm
can any body let me know how do we execute a command on the Console from our prgm . . on a windows platform ..
eg. a simple commant like "dir" or "cls" . . or whatever . . .
i heard that it can be done by calling the native methods . . but how is that done???thankx for the quick reply . .
for instance i wanna take a file from my local machine . .
a c++ source code . . (myfile.cpp)
i want to execute that on the prompt using c:\> tcc myfile.cpp
and all these i mean reading the file from the HDD and giving it to the console and getting the output everything should be done by my prgm . .
so basically the command which i usually run on the prompt i should be able to pass that command from my java prgm to the console and get that thing executed . .
i hope i am clear now .. . -
Nonfunctioning command to move photos from Mail to iPhoto
Does anyone know why Apple does not fix the lack of function of the drop down command to move photos from Apple Mail to iPhoto? Fix the problem or remove the nonfunctioning command. Dragging as a fix is not solution. Seven months is enough time to fix this.
Hold down on the image and select Save Image. The photo will be saved to the Camera Roll in the Photos App.
-
What will be exact command instead of (archivelog from time 'SYSDATE-3';)
HI all;
rman configuration
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS and others is default
i am taking weekly archivelog backup by following script
run
backup as compressed backupset
device type disk
tag "weekly_archivelog"
format '/sw/weekly_archivelog_%d_t%t_c%c_s%s_p%p'
archivelog from time 'SYSDATE-7';
and
i am taking daily archivelog backup by following script
run
backup as compressed backupset
device type disk
tag "daily_archivelog"
format '/sw/daily11_archivelog_%d_t%t_c%c_s%s_p%p'
archivelog from time 'SYSDATE-3';
i want to ask about daily backup script.mainly (archivelog from time 'SYSDATE-3';),,,,,,,it is taking daily 3 days archivelog backup
what will be exact command instead of (archivelog from time 'SYSDATE-3';)I assume you mean so that the daily doesn't constantly re-backup an archivelog that was already backed up?
If so, you could use the following:
run
backup as compressed backupset
device type disk
tag "daily_archivelog"
format '/sw/daily11_archivelog_%d_t%t_c%c_s%s_p%p'
archivelog all not backed up 1 times;
}or you could CONFIGURE BACKUP OPTIMIZATION ON or consider using DELETE INPUT to avoid the multiple backup of the same archivelogs. -
Command to Run Script from File
Hi,
I have 20 .sql Files, each one has CREATE script for stored peocedures. I want to run the script for each SP of the file in the database. Instead of copy and paste from each file, is there any command to execute script from each file.
Thanks,
Regards,
Suman S
Edited by: SSN on Jun 28, 2009 11:41 PMHi,
You can place that sql script either in drives.
IF suppose you placed your scripts file in D:\,
connect to database thru sqlplus and run like this
SQL>@"D:\sqlstatement.sql" -
Does any one know the hot key / command to hard delete from an external Drive
Does any one know the hot key / command to hard delete from an external Drive (i.e. delete direct without having to put in trash first)?
Nothing happens on a hard drive that doesn't involve the computer.
Here's a list of all the keyboard shortcuts. I don't see anything such as you have described, so perhaps you once used a keyboard macro or have not described what you mean properly. -
Script command to Save File From Portfolio
This is the script command to save as, app.execMenuItem("SaveAs")
What's the script command to Save File From Portfolio?
Do you know?Hi,
We were looking for that before: Exporting XFA PDF from within Portfolio
Paul exposed the menu items and while I was hopefully that app.execMenuItem("ExtractFilesFromPackage"); would work - but it didn't.
It transpires that only a few of the app.execMenuItem commands are unrestricted and available.
So we continue to use the "open"button on the top right of the portfolio to open the file out of the portfolio:
I think you are stuck with that,
Niall -
SCOM 2012 Test-Mailflow command received an NDR from SystemMailbox
I installed and configured the Exchange Server 2010 Management Pack in System Center Operations Manager (SCOM) 2012. Everything is working fine except one monitor:
"KHI: One or more unexpected NDRs have been received in response to Test-MailFlow cross-premises test messages."
This monitor shows a critical error.
Every 10 minutes, SCOM runs the following PowerShell command:
Test-Mailflow -CrossPremises:$true
The command sends an e-mail to the FederatedEmail system mailbox ([email protected]), but an NDR is generated because the mailbox has a 1MB storage quota and it quickly filled up with test
messages.
How is this supposed to work? Should I just raise the quota on the FederatedEmail mailbox, or is there something else that's supposed to be done? I've consulted TechNet and the Management Pack documentation and I can't find much information about the Test-Mailflow
synthetic transaction or how it's supposed to work.
We also have a hybrid deployment between Exchange 2010 and Office 365, so I would love it if this Test-Mailflow command could actually test mailflow between our Exchange environment and Office 365. That would be really helpful information to alert
on.
Any help or recommendations would be greatly appreciated. Thank you!
Here is the full text of the error:
Test-Mailflow command received an NDR from
SystemMailbox{GUID}@domain.com in response to a
test message sent to
[email protected].
Delivery has failed to these recipients or groups:
SystemMailbox{GUID}
([email protected])
<mailto:[email protected]>
The recipient's mailbox is full and can't accept messages now. Please try
resending this message later, or contact the recipient directly. Diagnostic
information for administrators: Generating server: SERVER.domain.com
[email protected] #554-5.2.2
mailbox full 554 5.2.2
STOREDRV.Deliver.Exception:QuotaExceededException.MapiExceptionShutoffQuotaExceeded;
Failed to process message due to a permanent exception with message Cannot open
mailbox /o=First Organization/ou=Exchange Administrative Group/cn=Configuration/cn=Servers/cn=SERVER/cn=Microsoft System
Attendant.Our SCOM 2012 environment is doing the same thing. This test-mailflow is generated by the managment pack and therefore should belong in this forum.
Otherwise, you should remove the support statement in the Management Pack Guide (June 2012)
Cross-premises mail flow monitoring and reporting The Management Pack includes new mail
flow monitoring and reporting capabilities for customers who use our hosted service.
Error:
Test-Mailflow command received an NDR from SystemMailbox{dfd5527a-b3bb-473a-b7d3-1257984884}@customer.com in response to a test message sent to [email protected]mer.com. Delivery has failed to these recipients
or groups: SystemMailbox{dfd5527a-b3bb-473a-b7d3-a2743d86cdda} ([email protected]) The recipient's mailbox is full and can't accept messages now. Please try resending this message later, or contact the recipient
directly. Diagnostic information for administrators: Generating server: MAIL-01.customer.com [email protected] #554-5.2.2 mailbox full 554 5.2.2 STOREDRV.Deliver.Exception:QuotaExceededException.MapiExceptionShutoffQuotaExceeded;
Failed to process message due to a permanent exception with message Cannot open mailbox <snip> -
Difference between RRI Command and GOTO from context menu
Can someone explain the difference between the RRI Command and the GOTO from the context menu?
Thanks.
RyanHi,
Check this link:
http://help.sap.com/saphelp_nw04s/helpdata/en/81/941139a772b30de10000000a11405a/frameset.htm
Hope this helps................
Rgs,
I.R.K -
I updated my iMac to Mountain Lion. All the files were deleted. I have Time Machine backups. When I restart the mac pressing Command R to restore it from the backup it shows the previous OS X (Leopard) beside the date of the backup that I want to select. Will it go back to Leopard if I restore it from the backup?
No, it won't revert to the prior OS X but you you may have third party apps installed that were compatible with Lion that may not be compatible with Mountain Lion.
App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS
After you restore from TM, check HD > Incompatible Software -
Phantom Boxes in search command of PDF exported from inDesign
After exporting to PDF from inDesign, and then using the search command in that PDF, there are phantom blue boxes that come up in the search that highlight nothing. What is causing this? The file has been revised over numerous versions of inDesign.
In your screen capture, you have the Find field open at the upper right, and you searched for the word "light".
The blue is highlighting an instance of the word which is hidden behind an object on the page. While not visible on the screen, this word is still part of the PDF file. Examine the original InDesign file, and you'll probably find it. -
Query runs from command line, but not from scheduler
We use Control-M to schedule shell scripts to be run on a Solaris server. Some of the scripts have to access an Oracle database and in that case our security team will include the DB user and password in the script, then encrypt it and the sys admin team schedules the encrypted shell script with Control-M. That works fine, but we've been trying to have the DB user and password on a separate encrypted file so that we don't have to ask for file encryption every time it's necessary to modify a script (this is a test environment).
We have the script at ~/system_name/scripts, the query at ~/system_name/sql and the encrypted file and key at ~/system_name/keys. The SQLPlus call in the script is:
${ORACLE_HOME}/bin/sqlplus "`decrypt -a 3des -k ./../keys/key.3des.system -i ./../keys/login.system`"@instance_name <<EOF
@${DIR_SQL}/TEST_QUERY.SQL
quit
EOF
The security analyst has tested is successfully from command line, but when we schedule it with Control-M the job abends and we get the following in the sysout:
+ decrypt -a 3des -k ./../keys/key.3des.system -i ./../keys/login.system
decrypt: cannot open ./../keys/key.3des.system
decrypt: invalid key.
+ /u00/app/oracle/product/11.1.0/db_1/bin/sqlplus @instance_name
+ 0<<
@/sistemas/hmp/system_name/sql/TEST_QUERY.SQL
quit
SQL*Plus: Release 11.1.0.6.0 - Production on Mon May 3 09:41:55 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SP2-0310: unable to open file "instance_name.sql"
Enter user-name: SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER|SYSASM}]
where <logon> ::= <username>[<password>][@<connect_identifier>] [edition=valu\
e] | /
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER|SYSASM}]
where <logon> ::= <username>[<password>][@<connect_identifier>] [edition=valu\
e] | /
Enter password:
ERROR:
ORA-12545: Connect failed because target host or object does not exist
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
0000000080
Any ideas?Looks like the command is being split in some way - the connection to sqlplus is being made before it completes the whole string
It appears to be seeing the @instance_name as a script to execute rather than a db to connect to.
Is the database on the same server as the script?
If so, try setting your environment to the correct databsae, so that you can omit the @instance_name part of the syntax and see if it helps
Also just noticed the failure to open the decrypt script. It would appear uyou are not using a full path name. Have you checked which directroy the scheduled job starts in? You may need to look at running some environment specific scripts first.
Edited by: LindaA on 05-May-2010 07:43 -
VBScript Runs Correctly From Command Prompt, But Not From SQL Server Agent Job
I'm trying to run this script on my local machine to do some post-batch cleanup and it doesn't run correctly from the scheduled job (or when I invoke the job).
Here's the script in question:
Option Explicit
Const filePath = "C:\Documents and Settings\jmunn\My Documents\Visual Studio 2008\Logs\"
Const holdDays = 6
main
Sub Main()
ClearArchive
End Sub
Sub ClearArchive()
Dim fso 'As Scripting.FileSystemObject
Dim fld 'As Scripting.Folder
Dim f 'As Scripting.File
Dim delLogName, delLogOut, delCtr
Set fso = CreateObject("Scripting.FileSystemObject")
Set fld = fso.GetFolder(filePath)
delLogName = filePath & "Nightly Backup - Backup Logs Deleted" & ".txt"
Set delLogOut = fso.CreateTextFile(delLogName, True)
delLogOut.WriteLine(delLogName)
delLogOut.WriteLine("")
delLogOut.WriteLine("-- The following log files were deleted on " & DateValue(Now()) & " at " & TimeValue(Now()))
delLogOut.WriteLine("")
delCtr = 0
For Each f In fld.Files
If Left(f.Name, 48) = "Nightly Backup - SQL Server Databases_Subplan_1_" And Right(LCase(f.Name), 4) = ".txt" Then
If DateDiff("d", f.DateCreated, Date()) > holdDays Then
delLogOut.WriteLine(f.Name)
fso.DeleteFile f, True
delCtr = delCtr + 1
End If
End If
Next
If delCtr = 0 Then
delLogOut.WriteLine("No log files were deleted this run...")
End If
Set fld = Nothing
Set fso = Nothing
delLogOut.Close
End Sub
If I put the script in its own file and run it from the command prompt, it runs just fine. If the script runs from the SQL Server Agent job, the for-loop will delete the files correctly, but the filenames
do not get written to the deletion log file and the counter does not get incremented, so according to the job log, nothing was deleted. Why does the script run differently from each invocation? It can't be a permission thing, the service that logs in has full
access to the directory and the files do get deleted. Any ideas out there?
Between this and other outstanding issues, I'm quickly losing faith in SQL Server. >=o(
Thanks in advance for your thoughts!
John
Version Info:
Microsoft SQL Server Management Studio 10.0.2531.0
Microsoft Analysis Services Client Tools 10.0.1600.22
Microsoft Data Access Components (MDAC) 3.85.1132
Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 8.0.6001.18702
Microsoft .NET Framework 2.0.50727.3603
Operating System 5.1.2600
"A bus station is where a bus stops. A train station is where a train stops. On my desk I have a workstation..."Hi
jrmunn
i am trying to execute VB script to refresh my excel files.. using Vbscript file through SQL Agent job step.
i have copied VBscript in a file with the extension RefreshExcel.vbs kept in C:\RefreshExcel.vbs
Below is the script used inside the file (RefreshExcel.vbs)
//---Script code-----------------------------------------------------------------
Dim objXL, objWB
Dim FileLocation, FileName
On Error Resume Next
'lgnConn = 1
FileLocation = "F:\Reports\Reports"
Set objXL = CreateObject("Excel.Application")
objXL.DisplayAlerts = False
FileName = "ReportFile1.xlsx"
'MsgBox (FileLocation & "/" & FileName)
Set objWB = objXL.Workbooks.Open(FileLocation & "/" & FileName)
objWB.EnableConnections
objXL.CalculateUntilAsyncQueriesDone
objWB.RefreshAll
objXL.CalculateUntilAsyncQueriesDone
objWB.RefreshAll
objXL.CalculateUntilAsyncQueriesDone
objWB.Save
objWB.Close
Set objWS = Nothing
Set objWB = Nothing
objXL.Quit
Set objXL = Nothing
'MsgBox ("Refresh Completed")
---------------------------------------------------------------------------------------------------//Script complete
Now when i am trying to call this script file in SQL agent job step (as you mentioned )
as Type -cmdExec(OperatingSystem)
cscript "C:\RefreshExcel.vbs"
Issue: job step executed succesfully ,,but without performing any refresh on the excel. So i am not understandig what is going wrong. the same script file work when i am calling it through a batch file (window scheuler task). But it doesnt support
to run the file "when user is not logged in"
that is why i want to refresh my excel file through sql agent ,which can be scheduled to any time and cab be run as SQL agent credentials.
Can you please help me on this ...i have tried all the option but nothing working .. found hope by seeing your solution.
Thanks in advance.
Please help me. :-(
Maybe you are looking for
-
CS5 Unable to print to PDF ... export to PDF works fine??
I can't print to PDF without going to PS first. Printing to the PDF is necessary for print booklet and printing separations, among other things. It will not print directlly to the PDF without first producing a PS file. I then have to convert the PS f
-
Skill Search works fine from search center, but it doesn't work from Lync client
My environment consists of Lync Server 2013 and SharePoint Server 2013. I configured skill search and it works fine from search center, but it doesn't work from Lync client. An error appears says"error occurred during the search, please try again". I
-
Getting error on console after configuring MS SQL DB server with portal
Hi, I am using WebLogic portal 10.2. I have configured MS SQL server with this portal as mentioned in: http://edocs.beasys.com/wlp/docs102/db/SQL.html After successfully performing all the steps mentioned in above link, when i try to start WebLogic P
-
When Will these two things be released?
Hello there. I have an iPod Touch 16GB. I was wondering if anybody knew what the release date was for these two things(if they are released). 1.iPhone & iPod Touch SDK for Windows 2.iPod Touch 2.0 Upgrade If anybody Knows the release date(s), Please
-
I got a problem while I am installing flash_player! look the below picture Please tell me how to fix that problem *write simple english cause I cant understand*