Need JCL for the file prg-to copy content from 1 ps to other

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
sukamal
Member
Posts: 7
Joined: Wed Oct 22, 2008 12:49 pm

Need JCL for the file prg-to copy content from 1 ps to other

Post by sukamal » Tue Dec 22, 2009 5:59 pm

Hi,
Could anyone give me the JCL for the cobol program which to copy the content from one ps to other.

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

Post by Anuj Dhawan » Wed Dec 23, 2009 12:48 pm

It's not clear what are you asking?

1. Did you mean, you're looking for a JCL which will execute a COBOL program?
2. Do you want to know how to copy one PS(Physical Sequential?,QSAM) to other PS file and this copy should be done by COBOL program?
Regards,
Anuj

sukamal
Member
Posts: 7
Joined: Wed Oct 22, 2008 12:49 pm

Post by sukamal » Wed Dec 23, 2009 1:54 pm

i need the JCL to run the cobol prg.I m having the cobol prg to copy the content from i ps to other But i want the JCl to execute it.

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

cobol compile and run jcl

Post by Natarajan » Wed Dec 23, 2009 2:13 pm

You can find compile & run jcl in below location.

http://www.mainframegurukul.com/srcsinc ... r.jcl.html
Natarajan
Chennai

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

Post by Anuj Dhawan » Tue Dec 29, 2009 7:44 pm

sukamal wrote:i need the JCL to run the cobol prg.I m having the cobol prg to copy the content from i ps to other But i want the JCl to execute it.
You may use the JCL which Natrajan has suggested. However, I recommend you get in touch with some supervisor at your shop to get a JCL to execute a program. Such JCLs are specific to shops and one must not rely on some external source of information for such JCLs.
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