Ad Widget

Collapse

macros for date variable advancing using PROC language?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ITDADDY
    Junior Member
    • Jul 2010
    • 1

    #1

    macros for date variable advancing using PROC language?

    Hey Guys/Gals,

    I am looking for a tech forum that talks PROC language.
    I can program in other languages but I just got highered to work for a Credit Union and I am trying to fix scripts that are done manually. See below code.

    There has to be a way to insert some kind of macro or something that does something like this. I run the program at end of the month so it would take the value of the end of month date. like this. I want to replace
    below in the bolden and underlines date between quotes this

    (CheckTodaysDateMacro + 1095)

    or if it was 30 days

    (CheckTodaysDateMacro + 30)

    it has to be able to do this wouldnt it make more sense to have a
    date macro pull the current date and then advance the date by days
    and when the dates count stops fill the brackets with that date that
    has been advance so many days. Please can you guys give me some help
    I have to go thru 32 reports procs and change all these dates by 1 month
    each month it SUCKS! ahha help! gurus please thanks

    I dont know the proc language but I have done it in other languages...any tips







    Quit "CD1-3YRSIRA" in file "PRPR" unchanged.

    Enter ITEM name or (L)ist - CDGT3YRSIRA

    Top of "CDGT3YRSIRA" in "PRPR", 12 lines, 412 characters.
    *--: P
    001: PQ
    002: C"ALL CD'S WITH MATURITY DATE GREATER THAN 3 YEARS"
    003: C"TOTAL DOLLARS ONLY US_ NO DETAIL"
    004: HSP-ASSIGN H Q0!CDPROCS
    005: P
    006: HSORT AFFP EQ "[P]" WITH ACCLEV EQ "I49" "I59" "I69" "I71" "I72" "I73"
    007: H "I39" "I70" "I81" "I82" "I83" "I91" "I92" "I93"
    008: H AND WITH FINISH
    009: H GT "30 JUN 13" BY ACCLEV BREAK-ON ACCLEV TOTAL AMT DET-SUPP ID-SUPP
    010: H HEADING "'C' IRA'S WITH MATURITY DATE GREATER THAN 3 YEARS
    011: H 'LC' AS OF 'DL'" LPTR

Working...