Page 1 of 1

how to release my compiled program to a file?

PostPosted: Thu Feb 19, 2009 5:10 am
by lxw039
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.

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

PostPosted: Thu Feb 19, 2009 5:17 am
by dick scherrer
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.

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

PostPosted: Thu Feb 19, 2009 6:12 am
by lxw039
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.

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

PostPosted: Thu Feb 19, 2009 6:39 am
by dick scherrer
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.

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

PostPosted: Thu Feb 19, 2009 10:04 am
by lxw039
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

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

PostPosted: Thu Feb 19, 2009 10:55 am
by dick scherrer
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.

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

PostPosted: Fri Feb 20, 2009 1:55 am
by lxw039
thank you very much, dick.

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

PostPosted: Fri Feb 20, 2009 2:36 am
by dick scherrer
You're welcome - hopefully, you have been able to send the compile for review :)

d