View previous topic :: View next topic |
Author |
Message |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Wed Jul 05, 2006 6:44 am Post subject: How to copy the rec layout that is viewed through file-aid |
|
|
Hi,
I have a file with a length of around 10000 bytes. I can view the layout through the File-aid (option 8 ).
How can i copy the same layout to a dataset as the business need the layout ?
Thanks,
Raja Mohamed _________________ RAJA MOHAMED |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Wed Jul 05, 2006 8:30 am Post subject: |
|
|
Hi Kolusu,
Instead of printing is there any way its copied to a dataset so that i can download to a text file and send it...this is the way business need.
I need this badly.
Thanks for the quick response.
Thanks,
Raja Mohamed _________________ RAJA MOHAMED |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
|
Posted: Wed Jul 05, 2006 8:37 am Post subject: |
|
|
ha.rajamohamed,
Try this
Code: |
//STEP0100 EXEC PGM=FILEAID
//SYSPRINT DD SYSOUT=*
//DD01 DD DSN=YOUR PDS COPY LIB,
// DISP=SHR
//SYSLIST DD DSN=YOUR OUTPUT FILE LAYOUT DEF FILE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(1,1),RLSE)
//SYSIN DD *
$$DD01 RLPRINT MEMBER=(your copy book to be printed)
/*
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
ha.rajamohamed Beginner
Joined: 29 Jan 2006 Posts: 71 Topics: 22
|
Posted: Wed Jul 05, 2006 9:06 am Post subject: |
|
|
Hi Kolusu,
It worked out.
Thanks a lot.
Raja Mohamed _________________ RAJA MOHAMED |
|
Back to top |
|
 |
|
|