View previous topic :: View next topic
|
Author |
Message |
Mudassir Ansari
New User
Joined: 06 Nov 2007 Posts: 16 Location: Hyderabad
|
|
|
|
Hi!
I want to include the todays date i.e., yymmdd format present at 27th position (Char) from the input flat file. It has previous dates also.
Regards,
Ansari |
|
Back to top |
|
|
Mudassir Ansari
New User
Joined: 06 Nov 2007 Posts: 16 Location: Hyderabad
|
|
|
|
Hi,
I have an input file which is an FB LRECL as 1024.
Regards,
Mudassir. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Mudassir and welcome to the forum,
Please post some sample input data (not the full 1024, but the relevant positions) and the output you want from the sample input. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Ansari,
I answered this same question offline for you. Please don't post and send me notes offline. Do one or the other. Here's the job I gave you offline based on your attempt at using ICETOOL:
Code: |
//S1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN1 DD DSN=TTOI.VAVX.TEMP.LIST,DISP=SHR
//OUT1 DD DSN=TTOI.VAVX.TEMP.LIST.OUTPUT1,DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(5,5))
//TOOLIN DD *
COPY FROM(IN1) TO(OUT1) USING(CTL1)
/*
//CTL1CNTL DD *
INCLUDE COND=(27,6,Y2T,EQ,Y'DATE1')
/*
|
|
|
Back to top |
|
|
Mudassir Ansari
New User
Joined: 06 Nov 2007 Posts: 16 Location: Hyderabad
|
|
|
|
Thanks Frank...Its working fine.. |
|
Back to top |
|
|
|