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 gkittelson 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: *

  • Users: amar9
  • Order by date
  1. amar9

    Submiting job on mainframe from unix korn shell

    Here is the one option to submit a job on mainframe from Unix korn shell. #!/bin/ksh ftp -n << EOF open <servername> user <userid> <password> ascii site file=jes put <JCLfilename> quit EOF ================= About JCLfilename: This file contains the JCL CODE. This file should be there in...
  2. amar9

    Submiting job on mainframe from unix korn shell

    I would like to SUBMIT A JOB ON MAINFRAME from Unix Korn Shell. I have a JCL on Mainframe PDS. Ex: JCL NAME: STKRPT PDS NAME: SCH.INVENTORY.JCLS server name: satbdp1 userid: abcdxyz password: abcdef1 FrOM Unix kron shell, I would like to submit my jcl SCH.INVENTORY.JCLS(STKRPT). I think...
  3. amar9

    duplex (both sides) printing

    Thank you stanhubble.
  4. amar9

    duplex (both sides) printing

    Hi tdatgod, Thanks for the reply. The a2ps command did not work on my unix machine(HP 11i Superdome). I would like to use the command in the KORN shell script (batch processing). [ The other option MODE setting change on the printer is not allowed here. ] Thank You. Amar
  5. amar9

    duplex (both sides) printing

    Greetings. Could you let me know is there any way to print on both sides (DUPLEX) using a command of UNIX. Thanks in advance.
  6. amar9

    usage of unix sort, mail and return code passing from COBOL to script

    Hi Salem, theotyflos, Thank you for your quick replies. 1) The egrep command gave the expected result. Thank you Salem. 2. Not yet tried 3. About passing return-code from cobol. in cobol move nnn to RETURN-CODE STOP RUN. where nnn is a numeric valuee <=255) in script: rc = $? echo...
  7. amar9

    How to pass data from a cobol program to UNIX korn shell script

    Hi theotyflos, Truusvlugindewind, Thank you for the information. I tried as given below: MOVE 105 TO RETURN-CODE. STOP RUN. in script: rc=$? echo $rc It is found that it is working correctly when RETURN-CODE less than or equal to 255. I am trying to find out is there any other way to...
  8. amar9

    How to pass data from a cobol program to UNIX korn shell script

    Hi, Greetings. I am working on migration project which involves migration of cobol application from VAX/VMS platform to HP UNIX. I have couple of doubts while writing korn shell scripts. Could you let me know if you have information regarding how to handle the following task. I want to pass...
  9. amar9

    usage of unix sort, mail and return code passing from COBOL to script

    Hi, Greetings. I am working on migration project which involves migration of cobol application from VAX/VMS platform to HP UNIX. I have couple of doubts while writing korn shell scripts. Could you let me know if you have information regarding how to handle the following tasks. 1. Unix Sort...

Part and Inventory Search

Back
Top