Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mi294r3

    Getting Original Job Stream name at run time.

    Is there a way to get the "Original Job Stream" at run time? I know that you can get that from the Tivoi Console, but I would like to get it via a command line option. A tivoli job will start a unix script, I want to use the JobStream and Job names to set the environment for the unix script...
  2. mi294r3

    simple question

    Well , I'm not sure what's not to like. NUMBER=`ls Run_*.flag | wc -l | awk '{print $1}'` But if you are trying to get rid of the space between BATCH_ & 7. The wc -l command puts the space in your answer. It's possible that washing the string back thorugh the shell interpreter via...
  3. mi294r3

    Variable Array names

    How about something like this #!/bin/ksh set -A arr1 data11 data12 data13 data14 set -A arr2 data21 data22 data23 data24 set -A arr3 data31 data32 data33 date34 integer i=1 while (( i <= 3 ))...
  4. mi294r3

    Enter multiple filenames into 'stage' command

    I have no idea what the stage command is. However, if the stage process works like other unix utilities try this stage -w < input.file JRjr [morning]
  5. mi294r3

    Software Category Question

    I see at least to discussions going on here. 1. Software Job Titles and if you can use engineer in them. 2. If software creation is a formalized discipline and can be defined as a engineering pursuit. My answer to #2 is I don't know, but people are trying...
  6. mi294r3

    cd to a directory from a script

    There is way to do it. Check out my FAQ in this forums FAQ. Unix Scripting FAQ ksh Inter-process comm's -- faq822-3992 Using Signal and TWO-WAY pipe to cd login shell from another script JRjr [morning]
  7. mi294r3

    No respect for developers

    I work for a large company. I have been involved in many large projects in my time here. One thing that I have seen happen over and over with these projects is months of analysis followed by a rush to develop. During this analysis, assumptions are made by non-technical people, or at best...
  8. mi294r3

    Getting Day of Month

    Try KSH DAY=$(date +%d) sh DAY=`date +%d` JRjr [morning]
  9. mi294r3

    location of javadocs for com.ibm.mq etc.....

    Does anyone know where I can get the javadocs for the IBM mq/jms classes. I am currently using MQ 5.3. I have lokked through "WebSphere MQ Using Java Version 6.0". In that manual it states; The Javadoc tool has been used to generate the HTML pages containing the specifications of the...
  10. mi294r3

    IF-THEN : expression syntax error

    I made a few assumptions . I assumed you file looked something like Info: me.abc 123 Info: you.txt 456 Total: 579 I also assumed that you wanted to compare a couple of numerical values First - I think you script is failing becasue you are using == instead of =. == Numerical...
  11. mi294r3

    Binding OR Client (Pro's Cons?)

    I am writting a JMS app for transfering files trough MQ. I put in a check for local host. I then check a prop file to determine which Queue Manager to conect to. If there is a LOCAL qmgr I do a BINDING connection, If no local queue manager I do a Client. My questions are , Should I...
  12. mi294r3

    Creating variables from the values of other variables

    When ever I have this type of problem to solve I set a string first then eval the string. This will allow you to echo the value of the string before the eval is done. CMDSTRG=&quot;${test1}_${test2}_hold=${basepath}/${test2}/${test2}/out/&quot; eval ${CMDSTRG} I made some changes to...
  13. mi294r3

    MQSeries 5.3 and JAVA client

    What do I need on the client side to provide connection to a queue manager. Before 5.3 it was done by downloading the ma88. Is it just com.ibm.mq.jar, com.ibm.mqbind.jar and com.ibm.mqjms.jar? Or is there other things as well (not including what is provided by J2EE). Also what jre is...
  14. mi294r3

    READ line by line a file

    This might give you a start for the info in file f1 -------------- 192.168.23.4 Hola 198.65.45.6 Mundo -------------- This script -------------------------------------------- typeset -i cnt=0...
  15. mi294r3

    .profile controls

    Randal Can you show an example of a .profile that you are using? Also do you suspect malicious activity or simple bone-headedness. The former is a continuous strugle the later can be easier to manage? JRjr[morning]
  16. mi294r3

    ERRORCODE: MQJMS1022 - Code: JMS-8402.

    Sorry , but I am a novice with JMS/MQ. Below is a snipet of an error log from an app . I am trying to get more infor on ERRORCODE: MQJMS1022 - Code: JMS-8402. Also I could not find a reference to SessionAsyncHelper in Websphere MQ using JAVA OCT 2002. Can any one point me in the right direction...
  17. mi294r3

    Change filename

    Here is another way that might work for you. This one dosen't use a loop. (ksh & AIX 4.3) ls -1 *.C|xargs -I{} basename {} .C|xargs -I{} mv {}.C {}.cpp JRjr[morning]
  18. mi294r3

    use a script to cd...

    Check out my FAQ . I just posted it 6-Aug Unix Scripting FAQ ksh Inter-process comm's Using Signal and TWO-WAY pipe to cd login shell from another script
  19. mi294r3

    Using Signal and TWO-WAY pipe to cd login shell from another script

    How can I change the current directory from a script. This question seems to pop up in the forum occasionally. One way is to source the script into the current shell. For example scriptname changedir Then from the prompt [color green]-> ...
  20. mi294r3

    Embed complete XML doc in another XML doc

    From an XML rookie.. How do you embed a complete XML document inside another. I want to be able to nest XML documents and have them parsed by seperate processes. Is an unparsed entity the only way to do this? JRjr

Part and Inventory Search

Back
Top