Joined: 18 Feb 2006 Posts: 812 Location: San Jose, CA
Posted: Fri Oct 07, 2011 9:45 pm Post subject:
When you want to use an apostrophe within 'string', you have to code two apostrophes.
Breaking it down, you get:
MYDATE is the symbol name.
'string' is the date constant.
80:X tells DFSORT to put blanks up to column 80 (easy way to set the record length to 80).
So for example, if you have 20110518 in positions 1,8, INREC will build the following 80-byte symbol statement:
You can then use MYDATE in SYMNAMES as a symbol for '20110518'. _________________ Frank Yaeger - DFSORT Development Team (IBM) - email@example.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum