Who has an Abap to show the content of iSeries OutQ's ?
Hi,
does somebody has an small abap to show the content of the iSeries OUTQs oder perhaps for the status of the QUEUE?
Best Regards,
Carsten Schulz
We've setup a command in SM69 simply named ZWRKOUTQ with command WRKOUTQ. It can be called from ABAP using the function module SXPG_COMMAND_EXECUTE.
Here is the code:
CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
EXPORTING
COMMANDNAME = COMMAND1
ADDITIONAL_PARAMETERS = PARM
OPERATINGSYSTEM = SY-OPSYS
TARGETSYSTEM = PAHOST
DESTINATION =
STDOUT = 'X'
STDERR = 'X'
TERMINATIONWAIT = 'X'
TRACE =
IMPORTING
STATUS = STATUS
EXITCODE =
TABLES
EXEC_PROTOCOL = ITAB
EXCEPTIONS
NO_PERMISSION = 1
COMMAND_NOT_FOUND = 2
PARAMETERS_TOO_LONG = 3
SECURITY_RISK = 4
WRONG_CHECK_CALL_INTERFACE = 5
PROGRAM_START_ERROR = 6
PROGRAM_TERMINATION_ERROR = 7
X_ERROR = 8
PARAMETER_EXPECTED = 9
TOO_MANY_PARAMETERS = 10
ILLEGAL_COMMAND = 11
WRONG_ASYNCHRONOUS_PARAMETERS = 12
CANT_ENQ_TBTCO_ENTRY = 13
JOBCOUNT_GENERATION_ERROR = 14
OTHERS = 15
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT ITAB.
IF itab-f1 eq 1 or itab-f1 eq 6.
WRITE:/ itab-f3.
endif.
ENDLOOP.
COMMAND1 = ZWRKOUTQ
PARM = PRINTER NAME
PAHOST = first part of the PAMSSERVER from table TSP03D
STATUS LIKE BTCXP3-EXITSTA
DATA: BEGIN OF ITAB OCCURS 10,
F1(1),
F2(2),
F3(147),
END OF ITAB.
You can use that function module to do stop and start as well by defining the commands in SM69.
thanx
Mark
Similar Messages
-
Why do I need to add a wildcard designator to get DIR to show the content of a subdirectory that has an extension?
<#c:#> mkdir subdir.bak
Directory: C:\users\larry\documents\windowspowershell
Mode LastWriteTime Length Name
d---- 9/12/2014 11:10 PM subdir.bak
<#c:#> dir subdir.bak
<#c:#> dir subdir.bak*
Directory: C:\users\larry\documents\windowspowershell
Mode LastWriteTime Length Name
d---- 9/12/2014 11:10 PM subdir.bakOK, now I see the difference. Since subdir.bak is empty, I get no output from DIR.
Asking for DIR subdir.bak* is similar to asking for Get-Item subdir.bak which does return the expected result. -
Empty Folders show the content of the upper folder
Recently I noticed that the empty folders don´t show empty, they show the content of the upper folder when you're in the icon view, Does anybody has the sam issue?
Hi,
An example to create a dynamic context in Webdynpro ABAP:
data:
rootnode_info TYPE REF TO if_wd_context_node_info,
dyn_node TYPE REF TO if_wd_context_node,
tabname_node TYPE REF TO if_wd_context_node,
tablename TYPE string.
rootnode_info = wd_context->get_node_info( ).
cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
parent_info = rootnode_info
node_name = tablename " Data object Table name
structure_name = tablename
is_multiple = abap_true ).
***Bind data to Dynamic table:
DATA: stru_tab TYPE REF TO data.
FIELD-SYMBOLS:
<tab> TYPE table.
create internal table
CREATE DATA stru_tab TYPE TABLE OF (tablename).
ASSIGN stru_tab->* TO <tab>.
dyn_node = wd_context->get_child_node( name = tablename ).
Bind internal table to context node.
dyn_node->bind_table( <tab> ).
Shruthi -
How to show the content of a table (long text) in a scrollable textbox?
Hi,
I have to say first, many thanks to the ones who answers to threads in this forum, it's very helpfull when we're learning web dynpro!
I have a RFC function that return a table containing a long text (node "it_text", with elements "Tdformat" and "Tdline").
1) I want first to copy all the Tdlines in a new node "text_box" (that I made specially for the screen, it contains only the element "Tdline" [the text itself]);
2) Then I want to show the content of the node "text_box" in a scrollable textbox on the screen (to show 8 lines of text, for example).
How to do that easily? What is the UI Element needed to show that?
Thanks!If you want to display as it is then you can use Table UI element. You can change the design property to 'transparent' and set column header visibility property to none. Then you need not to write any code simple you can map the node to table field.
Even with TextEdit you can achieve what you want. Try this code...
StringBuffer tmpBuffer = new StringBuffer();
for(int index=0;index<wdContext.nodeLines().size();index++)
wdContext.nodeLines().setLeadSelection(index);
tmpBuffer.append(wdContext.currentLinesElement().getLine()+"n");
wdContext.currentContextElement().setData(tmpBuffer.toString());
Regards
Abhilash -
My phone was stolen, but I had no data left and so can't locate it till the person who has it tries to use the internet. I backed up all my photos on iCloud, and want to get them on my PC. I installed iCloud onto the PC and followed the instructions and still can't find my pictures, says my photostream folder is empty, but it shows on iCloud that i've used most of my storage which is true, so they must be there somewhere?
Any ideas? I'd really appreciate the help! ThanksYes, I filed police report, but there is nothing they can do until I get back to them on the tracking. It's been offline. I'm sure the whoever took it can find a way around breaking in the ipad..i really was hoping to get my pictures and videos of my kids back
-
How to show the content of a data object in listbox
Hello together,
i have created a service employee_srv for my data object "Employee". How can I show the content of this data object in a listbox in my view, for example DropDownByKey.
Regards
Waldemar SchakielHi,
An example to create a dynamic context in Webdynpro ABAP:
data:
rootnode_info TYPE REF TO if_wd_context_node_info,
dyn_node TYPE REF TO if_wd_context_node,
tabname_node TYPE REF TO if_wd_context_node,
tablename TYPE string.
rootnode_info = wd_context->get_node_info( ).
cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
parent_info = rootnode_info
node_name = tablename " Data object Table name
structure_name = tablename
is_multiple = abap_true ).
***Bind data to Dynamic table:
DATA: stru_tab TYPE REF TO data.
FIELD-SYMBOLS:
<tab> TYPE table.
create internal table
CREATE DATA stru_tab TYPE TABLE OF (tablename).
ASSIGN stru_tab->* TO <tab>.
dyn_node = wd_context->get_child_node( name = tablename ).
Bind internal table to context node.
dyn_node->bind_table( <tab> ).
Shruthi -
Question
I have one out of five email address's with coxmail that opens with a blank inbox. Other browsers like opera or IE show the content of the same inbox. I've contacted cox but they tell me the problem is on my computer. I've used three different anti virus/malware scanners to eliminate all the bugs they can find. I need a firefox guru with suggestions. Thanks, CharlesYou can undo your permission changes. Probably the most relevant one is cookies. Try one or both of these methods:
(1) Page Info > Permissions tab
While viewing a page on the site:
* right-click and choose View Page Info > Permissions
* Alt+t (open the classic Tools menu) > Page Info > Permissions
(2) about:permissions
In a new tab, type or paste '''about:permissions''' and press Enter. Allow a few moments for the list on the left to populate, as this information needs to be extracted from a database.
Then type or paste ''rcn''' in the search box above the list to filter it to the most relevant domains. When you highlight a domain, you can adjust its permissions in the right pane.
Any luck? -
From browse button of input type=file, can I show the content of a file
Hi all,
I am using, input type=file, where browse button appears. I am having a text area. My requirement is after I select the browse button, I need to show the content of the file in the text area. As of now I 've handled by having another button 'show', which should be pressed after browse done. But, How to handle it in the browse button itself, how will I get that action event from browse button. Plz help.
Regards,
SamI think someone asked a very similar question here,
http://forum.java.sun.com/thread.jsp?forum=45&thread=501889
check the thread, it may help you.
-S- -
TIMER in FORMS 6i in order to show the contents of v$ view....
Hi,
I am looking for a solution that would continously show the contents of v$SQLArea on forms 6i.
Should I use timer in forms 6i in order to get the desired results.
COULD someone please send me the little example of my query? how should I do that?
THANKS
JUMMASee this thread -> https://discussions.apple.com/thread/5666364
-
How to check who has deployed a PAR into the portal
Hi there,
is there any log from which can be checked who has deployed a PAR into the portal (probably using NWDS directly)?!
Thanks in advance
PraveenHello Praveen,
You can find the user info from the trace files which are located in usr/sap/SID/DVEBMGS<SysNo.>/j2ee/cluster/server0/log/ subfolders.
Try to extract the info from the Tracefiles.
Again if you have the Logviewer configured then you might be able to find the same info there too.
Regards,
Premkishan -
Hello, i'm new new bie in KM, sorry.
I have my first own search component(jspdynpage)
and i would like to put links to show the content of some listed display names of resources in another window.
how can i manage with links to resources?
Thanks¡¡Hi Jon,
Resources within KM are called via the com.sap.km.docs component. That is for example: a link to /documents/YourDoc.txt would target to: http://[yourserver]:[yourport]/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/YourDoc.txt
Hope it helps
Detlev -
Imac not showing the contents of my classic iPod and iPad when i connect them to the iMac?
imac not showing the contents of my ipod classic and ipad when i connect them to my imac?
That's not much to go on.
What operating system and version are you using? Are you using the most recent version of iTunes? If so, did you update prior to this happening? What other changes might have triggered this? What troubleshooting have you done already and what was the result? -
My I-Pad screen is black!! I tried to sync and restore I-Pad, it showes the contents on the computer and pulling out pictures and other files, but screen is black. I don't know what happened! what can I do?
I have this problem as well...however, resetting/restoring did not take place when I followed the same instructions but got nothing on the screen. Thanks in advance.
-
When it shows the contents menu, the screen is halved (picture showing) is there a way to change the screen so it only shows the contents menu?
There is no way to change this on the iPod Classic.
-
When i want to send sms to my friend who has a imessage also, but the problem is when i have no internet in my phone it should be automaticaly send as a simple sms but in my phone even if i have no internet my sms will send as a imessage.
Iphone 5c, ios 8.0.2And this is how iMessage works (as gdgmacguy tried to explain):
Messages lets you exchange text messages with other SMS/MMS devices using your cellular connection, and with other iOS devices using iMessage.
iMessage is an Apple service that lets you send unlimited messages over an active Wi-Fi (or cellular data*) connection to other iOS devices using iOS 5 or later or Macs using OS X Mountain Lion or later. With iMessage you can see when other people are typing and let them know when you've read their messages. iMessages are displayed on all your iOS devices logged in to the same account, so you can start a conversation on one of your devices, and continue it on another device. For security, iMessages are encrypted before they're sent
* Cellular data connectivity requires iPhone or iPad (Cellular Models).
If you are sending an iMessage to another iOS device that is registered to Messages, then it will send it as an iMessage unless iMessage is not available.
GB
Maybe you are looking for
-
I have some songs on my ipod that I would like to keep on my iPod. I'd like to add some songs to my iPod by syncing it with iTunes on my computer. My question is, will I lose the songs that are on my iPod, if I sync it with my computer. Also, vice/
-
SMSY: Newer Version Exists in Solman 7
Hi, I Have a SolMan 7 system on SP15 and it seems that SMSY is not updating data correctly. I had an old 4.6C R3 server system registered and it was sending data to SLD from rz70. It was later upgraded to ECC6 and when data is sent to SLD it gets reg
-
Locked my ipod and it says ipod is disabled connect to itunes - have tried everyting - can not rememb er password - can someone please type good instructions for me to get back in - thank
-
Java inner class access specifiers
public class MyClass1 { public static void main(String argv[]){ } /*Modifier at XX */ class MyInner {} What modifiers would be legal at XX in the above code? 1) public 2) private 3) static 4) friend
-
How to arrive Password expiration situation in Cisco Router
Hi, i have to test something on cisco router so i have to achieve this following scenario :- I am trying to login using ssh username & passoword. so i need to expire this username & password on router. Anybody tell me how to get this situation in