Brad Gronli Posted April 22 Share Posted April 22 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. Link to comment Share on other sites More sharing options...
Patrick Huebgen Posted April 23 Share Posted April 23 @Brad Gronli fwhat is the content of <50 ???? could it be too long? HTML ignored repeating blank spaces PDF will displayt them Link to comment Share on other sites More sharing options...
Brad Gronli Posted April 23 Author Share Posted April 23 <50 is 2 in line 3. Both online and batch programs are to produce a W2. Link to comment Share on other sites More sharing options...
Brad Gronli Posted April 23 Author Share Posted April 23 (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. Edited April 23 by Brad Gronli Link to comment Share on other sites More sharing options...
Twanette Jurd Posted April 24 Share Posted April 24 Hi Brad, Could you post the equivalent code that you used to produce W2reg. Link to comment Share on other sites More sharing options...
Brad Gronli Posted April 25 Author Share Posted April 25 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now