Jump to content

Recommended Posts

Posted

I have a program that works fine when run from one of our websites, to produce an individuals W4. I have been tasked with modifying a copy of this program to produce a .pdf of all W2s for a calendar year. I am having an issue with this new version, when run in batch. The following is a part of the HEADING section.

HEADING                                                                         
"<12 a <13 Employee's social security number <34 Payroll organization code <50 I
ntradepartment number"                                                          
"<15 <PRTY_ID <34 <ORG_PYRL_CD <55 <DEPT_INTR_ID </1"                           
"<2 b <3 Employer identification number (EIN) <34 1 <35 Wages, tips, other compe
nsation <50 2 <51 Federal income tax withheld"                                  
"<6 <EMPR_ID <34 <WAGE_FIT_AMTA <55 <WH_FIT_AMTA </1"                           
"<2 c <3 Employer's name, address, and ZIP code <34 3 <35 Social security wages 
<50 4 <51 Social sexurity tax withheld"                                         
"<34 <WAGE_SS_AMTA <55 <WH_SS_AMTA"                                             
"<4 <EMPR_NM"                                                                   
 -GOTO HEADEND;                                                                 

The first line prints out correctly, but the third line doe snot print anything after "compensation" and I just do not see why. Any help here would greatly appreciated.

Thank you.

Posted (edited)

Attached here are examples of what the report should look like (W2reg) and what I am seeing in batch (W2test).

W2reg on top, W2test on bottom.

W2reg.thumb.png.815f5aa024925220154f4cf0833296c3.pngW2test.thumb.png.916a9bf87de452adfccfdc7805f0da46.png

Edited by Brad Gronli
Posted

They are the same except that I limited the number of lines from the HEADING, to try and track down the issue. The main difference between the two is W2reg (WebFOCUS)is run from a website and the other is run from our mainframe (FOCUS) in batch.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...