MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Format change program in cobol required

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
niks_jude
Beginner


Joined: 23 Nov 2006
Posts: 8
Topics: 2

PostPosted: Tue Nov 28, 2006 1:21 am    Post subject: Format change program in cobol required Reply with quote

I need to convet a table in the format 1 to format 2.

Format 1
Code:

DC    CL2'00'                     PLAN CODE             
DC    CL1'A'                      RULE CODE             
DC    CL2'**'                     STATE CODE           
DC    CL1'*'                      DB CODE               
DC    CL1'*'                      S EX CODE             
DC    CL1'*'                      RATE CLASS           
DC    CL1'*'                      BAND CODE             
DC    PL2'899'                    EFFECTIVE YEAR       
DC    PL2'998'                    EFFECTIVE DAY         
DC    PL2'001'                    HIGH DURATION         
DC    PL2'999'                    HIGH ISSUE AGE       
DC    PL2'000'                    GRACE PERIOD         
DC    PL6'00000000000'            CHARGE AMOUNT         
DC    PL4'0000006'                CHARGE PERCENTAGE     
DC    CL1'M'                      ALLOWANCE CODE       
DC    PL4'0000010'                FREE PERCENTAGE       
DC    PL3'00000'                  MONTHS FREE CHARGE   

to Format 2
Code:

DC    C'00',C'G',C'**',C'*',C'*',C'*',PL2'899',PL2'998'   
DC    PL2'999',PL2'999',PL2'030',PL6'00000000000'         
DC    PL4'0000000',C' ',PL4'0000000',PL3'00000'
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Nov 28, 2006 6:00 am    Post subject: Reply with quote

niks_jude,

Are we supposed to read the rules for formatting from your mind?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group