Hoping to use file-aid REFORMAT command...need help.



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

Hoping to use file-aid REFORMAT command...need help.

Postby Fatbull » Tue Jul 01, 2008 11:09 pm

I have a file that contains the part number in position 2-9.

I need to create a file to use as input to a subsequent program that has part number, a static date, and a static code of "5" in it.

I was hoping the reformat command in File-aid could possibly do this? If so, can you point to some examples of the command? It is not in any of the manuals I have.
Fatbull
 
Posts: 3
Joined: Tue Jul 01, 2008 10:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Hoping to use file-aid REFORMAT command...need help.

 

Re: Hoping to use file-aid REFORMAT command...need help.

Postby dick scherrer » Wed Jul 02, 2008 8:18 am

Hello FB and welcome to the forums,

Is FileAid a requirement?

There are multiple examples of similar requirements in the forum that were done using a sort product (DFSORT or Syncsort).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Hoping to use file-aid REFORMAT command...need help.

Postby Fatbull » Wed Jul 02, 2008 7:38 pm

Altho we do have syncsort, we're not really allowed to use it. :?
Fatbull
 
Posts: 3
Joined: Tue Jul 01, 2008 10:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Hoping to use file-aid REFORMAT command...need help.

Postby dick scherrer » Thu Jul 03, 2008 2:13 am

Hello,

But it is all right to use FileAid. . . :?:

Maybe someone familiar with fileaid/reformatting will have a suggestion.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Hoping to use file-aid REFORMAT command...need help.

Postby Fatbull » Thu Jul 03, 2008 9:37 pm

I am the choir and you are the preacher...

I know, and I hear ya.

Thanks.
Fatbull
 
Posts: 3
Joined: Tue Jul 01, 2008 10:53 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post