Creating an XMI in JCL



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

Creating an XMI in JCL

Postby JPVRoff » Wed May 01, 2024 7:53 am

Hi,

I've worked out another way of doing what I want (backing a PDS/E to a GDG), but I was wondering...is there a way of creating an XMI format file without issuing the XMIT command in TSO (IKJEFT01)? Obviously you cannot IEBCOPY the file directly, and creating a IEBCOPY compressed backup to a flat file works, but you can't really browse it.

So I just thought I'd ask. I had a bit of a search, but didn't find anything useful that I didn't already know.
Regards,
Jonathan

"Calm down, it's only ones and zeros" © Kathy Mar, 1985
User avatar
JPVRoff
 
Posts: 14
Joined: Mon Nov 07, 2011 11:15 am
Has thanked: 0 time
Been thanked: 0 time

Re: Creating an XMI in JCL

Postby willy jensen » Wed May 01, 2024 12:38 pm

Not as far as I am aware. Why do you want to avoid the TSO XMIT command?
willy jensen
 
Posts: 467
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times

Re: Creating an XMI in JCL

Postby JPVRoff » Wed May 01, 2024 12:52 pm

willy jensen wrote:Not as far as I am aware. Why do you want to avoid the TSO XMIT command?

I don't normally avoid it, but when running it via the scheduler there are access issues. So I was just wondering if there was a way of executing the program which creates the 80 byte XMI file without having to go through the logical (or physical) transmission. I would have hoped there was an option to do this.
So I'm using the IEBCOPY to a flat file (I'm storing the output in a GDG, so copying the PDS wasn't an option).
Regards,
Jonathan

"Calm down, it's only ones and zeros" © Kathy Mar, 1985
User avatar
JPVRoff
 
Posts: 14
Joined: Mon Nov 07, 2011 11:15 am
Has thanked: 0 time
Been thanked: 0 time

Re: Creating an XMI in JCL

Postby willy jensen » Wed May 01, 2024 5:32 pm

Now I am curious, what access issues?
willy jensen
 
Posts: 467
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times

Re: Creating an XMI in JCL

Postby JPVRoff » Mon May 06, 2024 11:31 am

willy jensen wrote:Now I am curious, what access issues?

Sorry for the delay in reply. Thanks for asking.

The scheduler (OPC/Tivoli) doesn't have a LOG.MISC file defined, there isn't actually a HLQ that matches the userid used by OPC to run the jobs. So it always fails with
Log process failed for log dataset 'log dataset'.

And it's not my (our) mainframe, so I'm not keen on going in to bat to get a whole new definition done for the sake of one file. Not if there's a workaround. And I can just keep using the IEBCOPY to a flat file...
Regards,
Jonathan

"Calm down, it's only ones and zeros" © Kathy Mar, 1985
User avatar
JPVRoff
 
Posts: 14
Joined: Mon Nov 07, 2011 11:15 am
Has thanked: 0 time
Been thanked: 0 time

Re: Creating an XMI in JCL

Postby jcdm » Thu Dec 05, 2024 9:31 pm

Hi I am not understanding your Issue.

U want to create an xmit file by batch?

//XMIT1    EXEC PGM=IKJEFT01              
//SYSTSPRT DD SYSOUT=*                    
//SYSTSIN DD *                            
   XMIT S0W1.IBMUSER DA('FILE.DUMP')-  
          OUTDA('FILE.DUMP.XMIT')      
jcdm
 
Posts: 20
Joined: Fri Dec 10, 2021 4:39 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Creating an XMI in JCL

Postby willy jensen » Thu Dec 05, 2024 11:59 pm

Or maybe the LOGDATASET parameter can help?
LOGDATASET(dsname)/LOGDSNAME(dsname)
You may specify an alternate data set to be used for the logging of
the transmitted data. This data set will be created if it does not
exist. The data set should be created with a logical record length of
255, a record format of VB and a blocksize of 3120.
willy jensen
 
Posts: 467
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post