View previous topic :: View next topic
|
Author |
Message |
medhachaudhari
New User
Joined: 07 Dec 2009 Posts: 18 Location: mumbai
|
|
|
|
Hi,
I have a file which contains the date in the format YYYYMMDD.
I need to update this file with the current date.
Could you please help me to do this through a ezytrieve pgm.
Thanks,
Shruti |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
SYSDATE is the ezt current date. In EZTPOPT is the lay-out defined (e.g. yyyymmdd). So you have to ask your ezt support how EZTPOPT parameters looks like. |
|
Back to top |
|
|
medhachaudhari
New User
Joined: 07 Dec 2009 Posts: 18 Location: mumbai
|
|
|
|
Thanks.. we use the program, EZTPA00.
I am not sure about the format of the date.
Do you have a sample program which updates the file with the date. |
|
Back to top |
|
|
ankit9jain
New User
Joined: 20 Jan 2009 Posts: 17 Location: India
|
|
|
|
Hi,
Please refer to Advantage CA-Easytrieve Plus Report Generator Application Guide 6.4, Appendix D and E.
I hope you will get the answer |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
EZTPOPT contains the EZTPA00 options, so the people that installed
the product could tell you about the SYSDATE lay-out. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
I used the following job to list the option table :
Code: |
//userid JOB 01,MSGCLASS=G,CLASS=D,NOTIFY=userid 00001003
//STEP0001 EXEC PGM=EZTPA00 00020003
//SYSPRINT DD SYSOUT=* 00160000
//SYSUDUMP DD SYSOUT=* 00170000
//SYSIN DD * 00390000
LIST OFF 00400000
PARM DEBUG(NOXREF) LIST ( FILE NOPARM) 00470000
* 00480000
FILE DUMMY 00481000
* 00482000
WOPT W 80 A OCCURS 80 INDEX(WINDEX) 00490001
* 00860000
JOB INPUT(NULL) 00870000
CALL EZTPX05 USING(WOPT) 00871001
WINDEX = 0 00880001
DO WHILE WINDEX < 6400 00890001
DISPLAY WOPT 00900001
WINDEX = WINDEX + 80 00910001
END-DO 00920001
STOP
|
|
|
Back to top |
|
|
ankit9jain
New User
Joined: 20 Jan 2009 Posts: 17 Location: India
|
|
|
|
Hi,
Google Easytrieve tutorial or manual, you will get it |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
ankit9jain wrote: |
Hi,
Google Easytrieve tutorial or manual, you will get it |
That your input?
He got it already, and googling for this stuff means you have to know
what for to google. |
|
Back to top |
|
|
|