PAGEDEF - need help

Ask questions about any other mainframe topics which are not covered above

Moderator: Moderator Group

Post Reply
fightingterp
Member
Posts: 1
Joined: Thu Aug 30, 2012 5:48 pm

PAGEDEF - need help

Post by fightingterp » Thu Aug 30, 2012 5:51 pm

I have an AFP mixed mode input file with various channel one records. Each channel one should call a different PAGEFORMAT. I am having trouble with my logic.

For example when byte 3 & 4 (START 1 LENGTH 2) are = “So’, I want to print one type of page (PAGEFORMAT PG1), when it’s = ‘ ‘ I want another (PAGEFORMAT PGNOT1) , when ‘01’ I want to pull an overlay and place data (PAGEFORMAT OV01), when ‘02’ a different overlay (PAGEFORMAT OV02), ’03' same (PAGEFORMAT OV03) & ‘04’ same (PAGEFORMAT OV04).

Can you provide sample code to handle this?

Thanks

Paul

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others