Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how to identify the VB records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vk0022789

New User


Joined: 24 Sep 2008
Posts: 15
Location: hyderabad

PostPosted: Mon Feb 01, 2010 3:50 pm    Post subject: how to identify the VB records
Reply with quote

Hi All,

I want to copy the records from one PS file to another PS file.

The Input file LRECL =150 and RECFM=FB and ctreate an output file with
LRECL = 154 and RECFM=VB

In VB,lrecl contains actual record length plus 4 bytes..

My doubt is where it will store the four bytes...

My JCL

//IDCAMS EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=AM878J.SORT.TEST1
//SYSUT2 DD DSN=AM878J.SORT.TEST.OUTPUT2,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(CYL,(100,010),RLSE),
// DCB=(LRECL=154,BLKSIZE=,RECFM=VB)
//SYSIN DD *
REPRO INFILE(SYSUT1) -
OUTFILE(SYSUT2)
//SYSOUT DD SYSOUT=*
//*


In output file i am not able to see any extra fout bytes...

Thanks,
kanna.R
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8657
Location: Back in jolly old England

PostPosted: Mon Feb 01, 2010 3:56 pm    Post subject:
Reply with quote

I would search the forum for a sort solution to convert FB to VB.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Feb 01, 2010 3:58 pm    Post subject:
Reply with quote

Quote:
My doubt is where it will store the four bytes...

Hope this helps...
http://publib.boulder.ibm.com/infocenter/zos/basics/index.jsp?topic=/com.ibm.zos.zconcepts/zconcepts_159.htm
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Merge 2 records sancraig16 SYNCSORT 19 Tue Mar 27, 2018 8:17 pm
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm
No new posts how to add the amount for duplicate r... SRUTHI DRAVIDAMANI COBOL Programming 6 Wed Feb 21, 2018 7:21 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us