File transmission from a PL/I code

IBM's cross-platform compiler PL/I for MVS, VM & VSE, OS/390 and Enterprise PL/I for z/OS
djalmeida
Posts: 1
Joined: Wed Dec 15, 2010 7:08 pm
Skillset: rexx, pl/i, vm
Referer: Google

File transmission from a PL/I code

Postby djalmeida » Wed Dec 15, 2010 8:07 pm

I need to transmit a file which was created in a previous step, or in the same step as the file was created to a Notes ID (email it). If I were in a REXX code, I could use the XMIT command. How can I do this from a PL/I code? Could somebody help me? Thanks

User avatar
Akatsukami
Global moderator
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Skillset: Rexx, JCL, DB2/SQL, TSO/ISPF, PL/I
Referer: ibmmainframes
Location: Bloomington, IL
Contact:

Re: File transmission from a PL/I code

Postby Akatsukami » Wed Dec 15, 2010 8:18 pm

The easiest thing would be to invoke actually XMIT from your program, after (if necessary) establishing a TSO environment.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day

User avatar
prino
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
Referer: Google
Location: Vilnius, Lithuania
Contact:

Re: File transmission from a PL/I code

Postby prino » Wed Dec 15, 2010 9:27 pm

Just invoke TSO in batch in a follow-up step.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy


  • Similar Topics
    Replies
    Views
    Last post