View previous topic :: View next topic
|
Author |
Message |
venosol Warnings : 1 New User
Joined: 16 Nov 2006 Posts: 43 Location: Bangalore
|
|
|
|
Any concept of writing a PDS member or file without using the COBOL
Languages only using JCL. Can Anyone help regrading this? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Is this an interview question?
JCL might be considered a 'language', but it does not really 'do' anything.....
What are you really looking for? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
I know, I am boring, but...
JCL will by itself do nothing
JCL ( in its basics ) is a language with a weird syntax to ...
execute programs, making available to them the datasets needed for correct operation
Just looking at the manual the logic should be clear...
there are utilities to do what You ask for, but no JCL
some utilities You might be interested in
operating system provided... IEBGENER, IDCAMS
add on products ... DFSORT/SYNCSORT, FILEAID, IBM File Manager, add more as You wish |
|
Back to top |
|
|
ajayvamsi
New User
Joined: 21 Jul 2005 Posts: 56 Location: Hyderabad
|
|
|
|
//STEP020 EXEC PGM=IEBPTPCH,REGION=512K
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=BAUVPCA.PENGUIN.AJAY.COBOL,DISP=SHR
//SYSUT2 DD DSN=BAUVPCA.SAMPLE.PS,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(10,10),RLSE),UNIT=(SYSDA,3),
// DCB=(RECFM=FBA,LRECL=80,BLKSIZE=0)
//SYSIN DD *
PUNCH TYPORG=PO,DBCS=NO
LABELS DATA=NO
/* |
|
Back to top |
|
|
venosol Warnings : 1 New User
Joined: 16 Nov 2006 Posts: 43 Location: Bangalore
|
|
|
|
Thnks .....for some sugesstions anf information. i am unable get...please
Try to find the Writng the PDS member or File by using JCL |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
The example given above will work perfectly well with a PDS as well as a PS file, all that you need to do is to amend the JCL according to your requirement.
Although, I am not sure that I would have used IEBPTPCH. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Thnks .....for some sugesstions anf information. i am unable get...please
Try to find the Writng the PDS member or File by using JCL |
Do you have an answer that works for you?
The solution posted may not be what you are looking for, but it does answer the request.
If you post more detail or include some kind of example about what you need (or describe why the posted solution will not work for you). Someone should be able to help. |
|
Back to top |
|
|
|