how to release my compiled program to a file?



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

how to release my compiled program to a file?

Postby lxw039 » Thu Feb 19, 2009 5:10 am

hi, can anybody tell me how to release my compiled program to a data set(file), because I want
email it to someone for review. thanx.
lxw039
 
Posts: 47
Joined: Tue Oct 07, 2008 11:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to release my compiled program to a file?

 

Re: how to release my compiled program to a file?

Postby dick scherrer » Thu Feb 19, 2009 5:17 am

Hello,

To send someone your source code, one easy way is to copy the member to a sequential file and attach that file to an e-mail. If your mainframe supports sending e-mail in batch, you could do that (as the "letter" or as an attachment) or you could download the code to your pc and attach that to an e-mail.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: how to release my compiled program to a file?

Postby lxw039 » Thu Feb 19, 2009 6:12 am

I'm sorry, dick, what I said maybe not clear. my means is not source code. it's compiled code(such as
extended copybook, compiled information etc) in option 5 after comiple source code. I Know I can use
command "r" to print the compiled code, but I don't know how to release to a data set(file). thanks.
lxw039
 
Posts: 47
Joined: Tue Oct 07, 2008 11:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to release my compiled program to a file?

Postby dick scherrer » Thu Feb 19, 2009 6:39 am

Hello,

Yup, i believe we are not on the same page. . . :?

What is your option 5? Which product or subsystem are you using when you choose option 5? I'm also not familiar with using an "r" to print. . .

Hopefully, someone reading this will know more about that particular product/environment and can provide guidance.

If you can see the output of a compile in sdsf (jes spool), that can be copied to a dataset and then sent offsite for review.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: how to release my compiled program to a file?

Postby lxw039 » Thu Feb 19, 2009 10:04 am

hi, dick, the following is the output after compile, I can see the content of 5, but I want to copy the content of 5 into data set, do you have some good suggestion? thanks.
--JOBNAME--JOBID----STATUS---RAN/RECEIVED------DAY-------DEST---------
   LXW039B  J003927  OUTPUT   11:51  11/10/2008 TODAY     RCTSPOOL     
--RC--PGM--------STEP-----PRSTEP---PROC-----COMMENTS------------------
    0  IGYCRCTL   COBOL    COMPILE  IGYWCL                             
    0  HEWL       LKED     COMPILE  IGYWCL                             
--------DDNAME---STEP-----PRSTEP---STAT-ACT-C-GRP-D-SIZE-U-DEST-------
_    1  LOG      *                 HELD     X   1 H   19 L RCTSPOOL   
_    2  JCL      *                 HELD     X   1 H   67 L RCTSPOOL   
_    3  MESSAGES *                 HELD     X   1 H  132 L RCTSPOOL   
_    4  SYSPRINT COBOL    COMPILE  HELD     X   1 H  476 L RCTSPOOL   
_    5  SYSPRINT LKED     COMPILE  HELD     X   1 H  129 L RCTSPOOL
lxw039
 
Posts: 47
Joined: Tue Oct 07, 2008 11:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to release my compiled program to a file?

Postby dick scherrer » Thu Feb 19, 2009 10:55 am

Hello,

What was done to get that info on the screen? I believe the compile is file 4. File 5 is the linkedit.

Using sdsf, you can get a similar display on the screen, and when you are viewing a job in the spool, it can be copied to a dataset. There is a command called XDC that you would use. Suggest you talk with someone who uses spooled output on your machine. They (or the system support people) should know how to copy spooled output to a dataset using XDC.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: how to release my compiled program to a file?

Postby lxw039 » Fri Feb 20, 2009 1:55 am

thank you very much, dick.
lxw039
 
Posts: 47
Joined: Tue Oct 07, 2008 11:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to release my compiled program to a file?

Postby dick scherrer » Fri Feb 20, 2009 2:36 am

You're welcome - hopefully, you have been able to send the compile for review :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post