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

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
djalmeida
 
Posts: 1
Joined: Wed Dec 15, 2010 7:08 pm
Has thanked: 0 time
Been thanked: 0 time

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
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

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
User avatar
prino
 
Posts: 617
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times


Return to PL/I

 


  • Related topics
    Replies
    Views
    Last post