PACKMODE ON/OFF

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
kumvinoth
Member
Posts: 1
Joined: Sat Jun 23, 2012 7:47 pm

PACKMODE ON/OFF

Post by kumvinoth » Sat Jun 23, 2012 8:19 pm

What will be the impact on running a JCL with input file saved with PACK MODE ON/OFF??

Code: Select all

PACKMODE ON/OFF

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Sat Jun 23, 2012 9:31 pm

Why do you post in the COBOL section? What happened when you tried it. Set up some test datasets of your own and play with them then you will not harm anything should you make a mistake in the coming years.
Regards
Nic

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Mon Jul 02, 2012 3:50 pm

From the manual, z/OS V1R9.0 ISPF Edit and Edit Macros:
1.1.5.2 Packing data

Data can be saved in either packed or standard format. You can control the format by using the PACK primary command to change the edit profile. The editor reads the data in and you can edit it the way you normally would. When you end the editing session, the data is packed and stored. See "PACK--Compress Data" in topic 3.2.37 and "PACK--Set or Query Pack Mode" in topic 3.3.63 for more information.

There are two disadvantages:

- The space saving is at the expense of additional processing when the data is read or written.

- The data cannot be directly accessed by programs. You must access the data through PDF dialogs and library access services. You would not, for example, pack an executable such as a CLIST or REXX exec.
Regards,
Anuj

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