REXX tool



IBM's Command List programming language & Restructured Extended Executor

Re: REXX tool

Postby prino » Wed Sep 05, 2012 1:25 am

balamurali cl wrote:I am not able to open the file you have sent here....Can I have a document or link?

That's because it's a zipped XMIT file. Unzip it and the upload it to a FB(80) data set on z/OS and receive it.

Or use one of the PC programs to extract the REXX from the XMIT.

Or go to "that" :mrgreen: system and grab the execs.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: REXX tool

Postby balamurali cl » Wed Sep 05, 2012 7:04 pm

I downloaded the ZIP. Isthat an XMl file or pdf or excel ?

I got a file. What should I use to open it
balamurali cl
 
Posts: 36
Joined: Mon Sep 03, 2012 9:01 pm
Has thanked: 2 times
Been thanked: 0 time

Re: REXX tool

Postby dick scherrer » Wed Sep 05, 2012 9:35 pm

Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: REXX tool

Postby prino » Wed Sep 05, 2012 11:01 pm

dick scherrer wrote:Maybe this will help:
http://www.ehow.com/how_8652075_open-xmi-file.html

Probably an even better suggestion than my left-handed corkscrew, or the metallized flufdrosser. :mrgreen:
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: REXX tool

Postby dick scherrer » Wed Sep 05, 2012 11:20 pm

Maybe.

We'll see when/if TS lets us know . . . ;)

d
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: REXX tool

Postby balamurali cl » Wed Sep 05, 2012 11:31 pm

I am not getting you.

Instead of giving me the ZIp file. Can I have the file in the mainframe format.

Or Please paste me the code here..
balamurali cl
 
Posts: 36
Joined: Mon Sep 03, 2012 9:01 pm
Has thanked: 2 times
Been thanked: 0 time

Re: REXX tool

Postby dick scherrer » Wed Sep 05, 2012 11:38 pm

Hello,

Unless i'm missing something, you now have the "mainframe format".

Suggest you go back to the CBT site and read their instructions for downloading and using their offerings.

It will be worth your time to learn how to do this as there will probably be other things that will be porovided this way.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: REXX tool

Postby steve-myers » Thu Sep 06, 2012 3:39 am

balamurali cl wrote:I am not able to open the file you have sent here....Can I have a document or link?
xxx.ZIP files have been around for more than 20 years. The xxx.ZIP files in the CBT web site usually contain one file, xxx.XMI. This file contains mainframe data. Send the file as a binary file to your mainframe, to a dataset allocated with RECFM=FB,LRECL=80,BLKSIZE=nnn. Like ZIP files, XMI datasets contain a dataset; for CBT data, this dataset is usually a PDS. In a TSO READY prompt or ISPF option 6, enter RECEIVE INDATASET(xxx), where xxx is the entire dataset name you prepared on the mainframe. The RECEIVE command will prompt you for the final name of the dataset where the data in the XMI dataset will be sent. If you just hit Enter in response to the prompt, RECEIVE will replace the high order qualifier in the dataset name in the XMI dataset with your userid.

Once the RECEIVE command has constructed the dataset, you have to open the dataset and figure out what to do next. There is usually documentation of varying quality in the PDS; it is up to you to find the documentation and continue from there.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: REXX tool

Postby balamurali cl » Thu Sep 06, 2012 7:51 pm

I tried to FTP but while doing FTP to mainframe file I got below error:

451-Record is too long
451 transfer aborted

Pls help me out??
balamurali cl
 
Posts: 36
Joined: Mon Sep 03, 2012 9:01 pm
Has thanked: 2 times
Been thanked: 0 time

Re: REXX tool

Postby dick scherrer » Thu Sep 06, 2012 8:16 pm

Hello,

Suggest you pre-allocate the file with proper space and dcb attributes on the mainframe. Then transfer the file.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

PreviousNext

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post