Check 21 x937 file format



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

Check 21 x937 file format

Postby ctrevino » Wed Mar 23, 2011 12:59 am

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
Christy T.


Wherever you go, there you are - Buckaroo Banzai
ctrevino
 
Posts: 62
Joined: Tue Feb 23, 2010 1:23 am
Has thanked: 0 time
Been thanked: 0 time

Re: Check 21 x937 file format

Postby MrSpock » Wed Mar 23, 2011 3:58 am

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?
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: Check 21 x937 file format

Postby ctrevino » Wed Mar 23, 2011 8:17 pm

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.
Christy T.


Wherever you go, there you are - Buckaroo Banzai
ctrevino
 
Posts: 62
Joined: Tue Feb 23, 2010 1:23 am
Has thanked: 0 time
Been thanked: 0 time

Re: Check 21 x937 file format

Postby prino » Wed Mar 23, 2011 10:10 pm

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.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post