IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Overwriting SSN Digits in Easytrieve Report


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ChrisCalderini

New User


Joined: 02 Nov 2024
Posts: 1
Location: United States

PostPosted: Wed Nov 06, 2024 10:42 pm
Reply with quote

Hello. I'm fairly new to mainframe computing and I'm working on a report that contains SSNs. I would like to have the SSN displayed as XXX-XX-1234. I've spent some time looking at the Programming Guide and Language Reference for Easytrieve, but I am having a hard time finding an example of what I'm trying to do. Can I overwrite the first 5 digits of my SSNs?

Here's my Report Statement:


*=====================================================================*
* *
* R E P O R T S T A T E M E N T *
* *
*=====================================================================*

REPORT UPDRPT01 PRINTER UPDRPT01 LINESIZE 130 NODATE NOPAGE NOADJUST

SEQUENCE AGENCY-PROC SSN

CONTROL AGENCY-PROC NEWPAGE

TITLE 01 'DEPT OF INNOVATION AND TECHNOLOGY '

TITLE 02 'DEFERRED COMP CONTRIBUTION AMOUNT '

HEADING FIND-NAME-LAST1 ('LAST' 'NAME')
HEADING FIND-NAME-FIRST1 ('FIRST' 'NAME')
HEADING PEGI-PROC-ORG ('PROC' 'ORG')
HEADING PEGI-TYPE ('TYPE')
HEADING DEF-COMP-PCT ('DEF COMP' 'PERCENT')
HEADING ROTH-PCT ('ROTH' 'PERCENT')
HEADING DEF-COMP-AMNT ('DEF COMP' 'AMOUNT')
HEADING ROTH-AMNT ('ROTH' 'AMOUNT')

LINE 01 SSN +
FIND-NAME-LAST1 +
FIND-NAME-FIRST1 +
PEGI-PROC-ORG +
PEGI-TYPE +
DEF-COMP-PCT +
ROTH-PCT +
DEF-COMP-AMNT +
ROTH-AMNT

//
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
No new posts Report of batch jobs JCL & VSAM 1
No new posts Count the number of characters in a f... CA Products 1
Search our Forums:

Back to Top