Page 1 of 1

Check 21 x937 file format

PostPosted: Wed Mar 23, 2011 12:59 am
by ctrevino
I need to ftp a x9.37 format electronic funds file (check 21) from a ftp server to the mainframe, save a copy in a gdg and then ftp it on to another ftp server.

This is a variable format file that includes images.

Anyone have any experience building the JCL to do this?

Christy

Re: Check 21 x937 file format

PostPosted: Wed Mar 23, 2011 3:58 am
by MrSpock
Not specifically, but I worked in the EDI field for many years. Never heard of that format, though. Seems pretty straight-forward (FTP get (to the GDG), FTP put (from the GDG)), presuming that all of the access rights and network connections are in place. What specifically do you need to know?

Re: Check 21 x937 file format

PostPosted: Wed Mar 23, 2011 8:17 pm
by ctrevino
well, the x9.37 format is a bunch of variable length records most of which have
set fixed format 80 records but set in between these records are images that are variable in length. I have not worked with variable records in years so I feel kinda dumb.

They have set up the format to include the length at the beginning but they do not define a set limit to the length.

I want to ftp the file up to the mainframe from a non-mainframe server
. Do I do it as binary, ascii, or just leave it alone?

Then how do I define the dcb for this file so I can save off a gdg copy.

Then I need to ftp it on to another non-mainframe server.

Re: Check 21 x937 file format

PostPosted: Wed Mar 23, 2011 10:10 pm
by prino
ctrevino wrote:well, the x9.37 format is a bunch of variable length records most of which have
set fixed format 80 records but set in between these records are images that are variable in length. I have not worked with variable records in years so I feel kinda dumb.

They have set up the format to include the length at the beginning but they do not define a set limit to the length.

I want to ftp the file up to the mainframe from a non-mainframe server
. Do I do it as binary, ascii, or just leave it alone?

Then how do I define the dcb for this file so I can save off a gdg copy.

Then I need to ftp it on to another non-mainframe server.


You must use binary, as ASCII FTP translations are frequently irreversible. As for the receiving format, FB/80/27920 would be OK and allows you to see everything on one screen with Browse, and on later z/OS releases, you van give the command "DISPLAY ASCII", to make sense of it.