Two sequences communication

I want a sequence(seq1) generating the sequence item A and sending to another sequence(seq2). This sequence(seq2) gets the sequence item A to formed its sequence. How can I do that? Thanks a lot.

You can use sequence layering concept in UVM.

Generally this is done in virtual sequence layer where child sequences accumulated and constrained as per requirement.

You can take an instance of child sequence Child_seq in Virtual_seq ,randomize it(if required) and access whatever the data/function member you want to access from there.

You can take any example of UVM.